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

    r2413 r2431  
    117117                -o $(obj)\
    118118                -
     119        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    119120endef
    120121else # !KBUILD_USE_KOBJCACHE
     
    126127                -o $(obj)\
    127128                $(abspath $(source))
     129        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    128130endef
    129131endif # !KBUILD_USE_KOBJCACHE
     
    160162                -o $(obj)\
    161163                -
     164        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    162165endef
    163166else # !KBUILD_USE_KOBJCACHE
     
    169172                -o $(obj)\
    170173                $(abspath $(source))
     174        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    171175endef
    172176endif # !KBUILD_USE_KOBJCACHE
     
    195199                -o $(obj)\
    196200                $(abspath $(source))
     201        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    197202endef
    198203
Note: See TracChangeset for help on using the changeset viewer.