Fixed a parallel build race condition (forgot to declare a dependency to

the makefile).
This commit is contained in:
David Given 2014-11-09 18:47:51 +01:00
parent 6a340ea1bd
commit 2271bcd0a7

View file

@ -26,7 +26,7 @@ $(call cfile, $D/var.c)
$(call cfile, $D/hall.c) $(call cfile, $D/hall.c)
$(eval CLEANABLES += $(OBJDIR)/$D/enterkeyw.c) $(eval CLEANABLES += $(OBJDIR)/$D/enterkeyw.c)
$(OBJDIR)/$D/enterkeyw.c: $D/cvtkeywords $D/keywords $(OBJDIR)/$D/enterkeyw.c: $D/cvtkeywords $D/keywords $(OBJDIR)/$D/y.tab.h
@echo KEYWORDS $$@ @echo KEYWORDS $$@
@mkdir -p $$(dir $$@) @mkdir -p $$(dir $$@)
$(hide) cd $$(dir $$@) && sh $(abspath $D/cvtkeywords) $(abspath $D/keywords) $(hide) cd $$(dir $$@) && sh $(abspath $D/cvtkeywords) $(abspath $D/keywords)