mirror of
https://github.com/cc65/cc65.git
synced 2024-11-04 17:04:58 +00:00
5ed1fac0d6
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.
10 lines
335 B
Makefile
10 lines
335 B
Makefile
DEPS += ../wrk/$(TARGET)/loader.d
|
|
|
|
../wrk/$(TARGET)/loader.o: $(SRCDIR)/targetutil/loader.s | ../wrk/$(TARGET)
|
|
$(ASSEMBLE_recipe)
|
|
|
|
../targetutil/loader.system: ../wrk/$(TARGET)/loader.o $(SRCDIR)/targetutil/loader.cfg | ../targetutil
|
|
$(LD65) -o $@ -C $(filter %.cfg,$^) $(filter-out %.cfg,$^)
|
|
|
|
$(TARGET): ../targetutil/loader.system
|