44ccb27549
It seems more appropriate to trigger the inclusion of Makefile.inc via $TARGET (instead of $SRCDIR). This is btw. more consistent with extzp.s inclusion which is triggered via $TARGET too.
9 lines
282 B
Makefile
9 lines
282 B
Makefile
DEPS += ../wrk/$(TARGET)/w2cas.d
|
|
|
|
../wrk/$(TARGET)/w2cas.o: $(SRCDIR)/targetutil/w2cas.c | ../wrk/$(TARGET)
|
|
$(COMPILE_recipe)
|
|
|
|
../targetutil/w2cas.com: ../wrk/$(TARGET)/w2cas.o ../lib/$(TARGET).lib | ../targetutil
|
|
$(LD65) -o $@ -t $(TARGET) $^
|
|
|
|
$(TARGET): ../targetutil/w2cas.com
|