mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
3f0af9b241
Building the clean target in src or libsrc should only delete stuff created by the make in those directories. Having both separated allows the Travis CI build to replace the native binaries with cross built binaries while keeping everything else.
15 lines
438 B
Makefile
15 lines
438 B
Makefile
DEPS += ../libwrk/$(TARGET)/convert.d
|
|
|
|
../libwrk/$(TARGET)/convert.o: TARGET = apple2enh
|
|
|
|
../libwrk/$(TARGET)/convert.o: $(SRCDIR)/targetutil/convert.c | ../libwrk/$(TARGET)
|
|
$(COMPILE_recipe)
|
|
|
|
../lib/apple2enh.lib:
|
|
@$(MAKE) --no-print-directory apple2enh
|
|
|
|
../targetutil/convert.system: ../libwrk/$(TARGET)/convert.o ../lib/apple2enh.lib | ../targetutil
|
|
$(LD65) -o $@ -C apple2enh-system.cfg $^
|
|
|
|
$(TARGET): ../targetutil/convert.system
|