summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-09-06 14:57:12 -0500
committerIBNobody <ibnobody@gmail.com>2016-09-06 14:57:12 -0500
commitff53e167670cc760ba0110e632607766dd324412 (patch)
treec10cd73d05201238588e1538c0a5b5f80fda8e69 /tmk_core
parentf16fece28330b65253047259a79670289b2bafd5 (diff)
parent8b0769fe5a615e0ed534187de79d09d668737313 (diff)
downloadqmk_firmware-ff53e167670cc760ba0110e632607766dd324412.tar.gz
qmk_firmware-ff53e167670cc760ba0110e632607766dd324412.zip
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
Diffstat (limited to 'tmk_core')
-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