mirror of
https://github.com/cc65/cc65.git
synced 2024-08-27 11:29:12 +00:00
Originally I used the usual variables (like $(CC) and $(CFLAGS) ) but after all this doesn't make sense as any predefined values and/or user defined settings can only be wrong.
15 lines
423 B
Makefile
15 lines
423 B
Makefile
DEPS += ../wrk/$(TARGET)/convert.d
|
|
|
|
../wrk/$(TARGET)/convert.o: TARGET = apple2enh
|
|
|
|
../wrk/$(TARGET)/convert.o: $(SRCDIR)/targetutil/convert.c | ../wrk/$(TARGET)
|
|
$(COMPILE_recipe)
|
|
|
|
../lib/apple2enh.lib:
|
|
@$(MAKE) --no-print-directory apple2enh
|
|
|
|
../targetutil/convert.system: ../wrk/$(TARGET)/convert.o ../lib/apple2enh.lib | ../targetutil
|
|
$(LD65) -o $@ -C apple2enh-system.cfg $^
|
|
|
|
$(TARGET): ../targetutil/convert.system
|