Ignore:
Timestamp:
Nov 19, 2010, 12:06:42 PM (15 years ago)
Author:
bird
Message:

tools/G*.kmk: Add dummy source rule/dep to the gcc generated dependency files to make it less painful to move a source file without changing the target names. Fixes #101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/GCC32.kmk

    r2413 r2431  
    125125                -o $(obj)\
    126126                -
     127        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    127128endef
    128129else # !KBUILD_USE_KOBJCACHE
     
    134135                -o $(obj)\
    135136                $(abspath $(source))
     137        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    136138endef
    137139endif # !KBUILD_USE_KOBJCACHE
     
    167169                -o $(obj)\
    168170                -
     171        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    169172endef
    170173else # !KBUILD_USE_KOBJCACHE
     
    177180                -o $(obj)\
    178181                $(abspath $(source))
     182        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    179183endef
    180184endif # !KBUILD_USE_KOBJCACHE
     
    203207                -o $(obj)\
    204208                $(abspath $(source))
     209        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    205210endef
    206211
Note: See TracChangeset for help on using the changeset viewer.