From: Greg King Date: Thu, 29 Jun 2017 17:34:10 +0000 (-0400) Subject: Added the extra dependency file's directory as an order-only prerequisite. X-Git-Tag: V2.17~120^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=141c25b42b4df1c32ceb36e2661cddb48ac9c0e0;p=cc65 Added the extra dependency file's directory as an order-only prerequisite. The extra dependency files are put into different places than the extra object files' location. Therefore, the rule must pre-make two directories. --- diff --git a/libsrc/Makefile b/libsrc/Makefile index e106aa239..89d4b7752 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -280,7 +280,7 @@ endef # COMPILE_recipe ../libwrk/$(TARGET)/%.o: %.c | ../libwrk/$(TARGET) $(COMPILE_recipe) -$(EXTRA_OBJPAT): $(EXTRA_SRCPAT) | ../lib +$(EXTRA_OBJPAT): $(EXTRA_SRCPAT) | ../libwrk/$(TARGET) ../lib @echo $(TARGET) - $(