mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
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.
This commit is contained in:
parent
d1501731e4
commit
141c25b42b
@ -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) - $(<F)
|
||||
@$(CA65) -t $(TARGET) $(CA65FLAGS) --create-dep $(@:../lib/%.o=../libwrk/$(TARGET)/%.d) -o $@ $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user