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

    r2413 r2431  
    102102                -o $(obj)\
    103103                $(abspath $(source))
     104        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    104105endef
    105106
     
    127128                -o $(obj)\
    128129                $(abspath $(source))
     130        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    129131endef
    130132
     
    152154                -o $(obj)\
    153155                $(abspath $(source))
     156        $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" ""
    154157endef
    155158
Note: See TracChangeset for help on using the changeset viewer.