summaryrefslogtreecommitdiff
path: root/tmk_core/rules.mk
diff options
context:
space:
mode:
authordbroqua <dbroqua@mousur.org>2016-09-19 13:26:18 +0200
committerdbroqua <dbroqua@mousur.org>2016-09-19 13:26:18 +0200
commit21b6e4c1f3225fed55926a4e6be2888d17fe5fd2 (patch)
tree63504b528703a65c4addda6658a701e405bba44c /tmk_core/rules.mk
parent94af0194ddfe8f8a3069c926170d8995de5c1781 (diff)
parentc438a2a265b366c8e4594ce561feb896018983f0 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'tmk_core/rules.mk')
-rw-r--r--tmk_core/rules.mk6
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