diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2016-09-19 13:25:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-19 13:25:37 +0200 |
commit | c438a2a265b366c8e4594ce561feb896018983f0 (patch) | |
tree | f310e72223a25414f69c2dec70509fed26dc3960 /tmk_core/rules.mk | |
parent | af24ea558a65fea549bd9f57a9704b904972d2f7 (diff) | |
parent | 5f9c2f63ffb2c58db73e67442134be58bfe2c129 (diff) |
Merge pull request #4 from jackhumbert/master
Merge from jackhumbert
Diffstat (limited to 'tmk_core/rules.mk')
-rw-r--r-- | tmk_core/rules.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 79fc7119a6..e4c8aecb2c 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -332,11 +332,13 @@ $1/compiler.txt: $1/force $$(CC) --version | cmp -s - $$@ || $$(CC) --version > $$@ endef +.PRECIOUS: $(MASTER_OUTPUT)/obj.txt $(MASTER_OUTPUT)/obj.txt: $(MASTER_OUTPUT)/force - echo '$(OBJ)' | cmp -s - $$@ || echo '$(OBJ)' > $$@ + echo '$(OBJ)' | cmp -s - $@ || echo '$(OBJ)' > $@ +.PRECIOUS: $(MASTER_OUTPUT)/ldflags.txt $(MASTER_OUTPUT)/ldflags.txt: $(MASTER_OUTPUT)/force - echo '$(LDFLAGS)' | cmp -s - $$@ || echo '$(LDFLAGS)' > $$@ + echo '$(LDFLAGS)' | cmp -s - $@ || echo '$(LDFLAGS)' > $@ # We have to use static rules for the .d files for some reason |