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/GCC3PLAIN.kmk

    r2413 r2431  
    123123                -o $(obj)\
    124124                -
     125        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    125126endef
    126127else # !KBUILD_USE_KOBJCACHE
     
    132133                -o $(obj)\
    133134                $(abspath $(source))
     135        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    134136endef
    135137endif # !KBUILD_USE_KOBJCACHE
     
    165167                -o $(obj)\
    166168                -
     169        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    167170endef
    168171else # !KBUILD_USE_KOBJCACHE
     
    174177                -o $(obj)\
    175178                $(abspath $(source))
     179        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    176180endef
    177181endif # !KBUILD_USE_KOBJCACHE
     
    200204                -o $(obj)\
    201205                $(abspath $(source))
     206        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    202207endef
    203208
Note: See TracChangeset for help on using the changeset viewer.