dos33fsprogs/demos/kfest2018/Makefile
Vince Weaver e0febd1a90 demos: more work
keep making git mistakes urgh
2021-01-05 22:52:10 -05:00

39 lines
889 B
Makefile

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
all: kfest18.dsk
kfest18.dsk: RASTER RASTER_C
$(DOS33) -y kfest18.dsk BSAVE -a 0x2000 RASTER
$(DOS33) -y kfest18.dsk BSAVE -a 0x1000 RASTER_C
raster.o: raster.s vapor_lock.s
ca65 -o raster.o raster.s -l raster.lst
RASTER.lz4: RASTER
lz4 -f -16 RASTER
RASTER: raster.o
ld65 -o RASTER raster.o -C ../../linker_scripts/apple2_2000.inc
raster_decompress.o: raster_decompress.s RASTER.lz4
ca65 -o raster_decompress.o raster_decompress.s
RASTER_C: raster_decompress.o
ld65 -o RASTER_C raster_decompress.o -C ../../linker_scripts/apple2_1000.inc
raster2.o: raster2.s
ca65 -o raster2.o raster2.s -l raster2.lst
RASTER2: raster2.o
ld65 -o RASTER2 raster2.o -C ../../linker_scripts/apple2_1000.inc
clean:
rm -f *~ *.o *.lst RASTER RASTER2 RASTER.lz4