summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-02-09 20:33:21 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-02-09 20:33:21 -0800
commit8da2bf1c19a197df13928c18cd8e4317b9934c66 (patch)
tree8af5d41ff984d1249dcd80b106c7d2786854bccb /Makefile
parentbf296b3008be7e17074ccb1a95bc1d560c390e02 (diff)
downloadtxr-8da2bf1c19a197df13928c18cd8e4317b9934c66.tar.gz
txr-8da2bf1c19a197df13928c18cd8e4317b9934c66.tar.bz2
txr-8da2bf1c19a197df13928c18cd8e4317b9934c66.zip
* Makefile: Add dependency froml $(EXTRA_OBJS-y) to header
file and config.h, so windows resource file is rebuilt when the version changes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6f7846b..89ebcc32 100644
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,9 @@ endef
-include $(OBJS:.o=.d) $(OBJS:.o=.v)
# Add dependencies
-$(call DEP,$(OBJS),$(conf_dir)/config.make $(conf_dir)/config.h)
+$(call DEP,$(OBJS) $(EXTRA_OBJS-y),\
+ $(conf_dir)/config.make $(conf_dir)/config.h)
+
$(call DEP,opt/lex.yy.o dbg/lex.yy.o,y.tab.h)
lex.yy.c: parser.l