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

    r2413 r2431  
    130130                -o $(obj)\
    131131                -
     132        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    132133endef
    133134else # !KBUILD_USE_KOBJCACHE
     
    139140                -o $(obj)\
    140141                $(abspath $(source))
     142        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    141143endef
    142144endif # !KBUILD_USE_KOBJCACHE
     
    172174                -o $(obj)\
    173175                -
     176        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    174177endef
    175178else # !KBUILD_USE_KOBJCACHE
     
    181184                -o $(obj)\
    182185                $(abspath $(source))
     186        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    183187endef
    184188endif # !KBUILD_USE_KOBJCACHE
     
    207211                -o $(obj)\
    208212                $(abspath $(source))
     213        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    209214endef
    210215
Note: See TracChangeset for help on using the changeset viewer.