mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
make 'w2cas' a targetutil
This commit is contained in:
parent
dec2376195
commit
69f81f6d67
@ -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/atari/w2cas.c/).
|
||||
on an Atari is provided (<tt/W2CAS.COM/).
|
||||
|
||||
<sect1><tt/atarixl/ config files<p>
|
||||
|
||||
|
@ -102,6 +102,7 @@ MKINC = $(GEOS) \
|
||||
nes
|
||||
|
||||
TARGETUTIL = apple2 \
|
||||
atari \
|
||||
geos-apple
|
||||
|
||||
GEOSDIRS = common \
|
||||
|
14
libsrc/atari/targetutil/Makefile.inc
Normal file
14
libsrc/atari/targetutil/Makefile.inc
Normal 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
|
Loading…
x
Reference in New Issue
Block a user