From 8da2bf1c19a197df13928c18cd8e4317b9934c66 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 9 Feb 2015 20:33:21 -0800 Subject: * Makefile: Add dependency froml $(EXTRA_OBJS-y) to header file and config.h, so windows resource file is rebuilt when the version changes. --- ChangeLog | 6 ++++++ Makefile | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b5f186d2..4330918a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-02-09 Kaz Kylheku + + * Makefile: Add dependency froml $(EXTRA_OBJS-y) to header + file and config.h, so windows resource file is rebuilt + when the version changes. + 2015-02-09 Kaz Kylheku * Makefile: Removing bogus eval which refers to nonexistent 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 -- cgit v1.2.3