1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-09 22:29:35 +00:00

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

@ -230,7 +230,7 @@ The size of a cassette boot file is restricted to 32K. Larger programs
would need to be split in more parts and the parts to be loaded manually.
To write the generated file to a cassette, a utility to run
on an Atari is provided (<tt/util&sol;atari&sol;w2cas.c/).
on an Atari is provided (<tt/W2CAS.COM/).
<sect1><tt/atarixl/ config files<p>

View File

@ -102,6 +102,7 @@ MKINC = $(GEOS) \
nes
TARGETUTIL = apple2 \
atari \
geos-apple
GEOSDIRS = common \

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