make 'w2cas' a targetutil

This commit is contained in:
Christian Groessler
2014-03-01 13:10:01 +01:00
parent dec2376195
commit 69f81f6d67
4 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
ifeq ($(TARGET),atari)
DEPS += ../wrk/$(TARGET)/w2cas.d
../wrk/$(TARGET)/w2cas.o: CC65FLAGS:=-O -W error
../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
endif