dos33fsprogs/vaporlock/demo/Makefile

44 lines
856 B
Makefile
Raw Permalink Normal View History

2023-05-17 19:39:09 +00:00
include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../linker_scripts
EMPTYDISK = ../../empty_disk/empty.dsk
all: demo.dsk
2023-05-18 20:57:20 +00:00
demo.dsk: HELLO MIDLINE GOOD
2023-05-17 19:39:09 +00:00
cp $(EMPTYDISK) demo.dsk
$(DOS33) -y demo.dsk SAVE A HELLO
$(DOS33) -y demo.dsk BSAVE -a 0x6000 MIDLINE
2023-05-18 20:57:20 +00:00
$(DOS33) -y demo.dsk BSAVE -a 0x6000 GOOD
2023-05-17 19:39:09 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
MIDLINE: midline.o
ld65 -o MIDLINE midline.o -C $(LINKERSCRIPTS)/apple2_6000.inc
midline.o: midline.s \
2023-05-18 20:57:20 +00:00
zp.inc hardware.inc sinetable.s
2023-05-17 19:39:09 +00:00
ca65 -o midline.o midline.s -l midline.lst
###
2023-05-18 20:57:20 +00:00
GOOD: good.o
ld65 -o GOOD good.o -C $(LINKERSCRIPTS)/apple2_6000.inc
good.o: good.s \
zp.inc hardware.inc sinetable.s
ca65 -o good.o good.s -l good.lst
###
2023-05-17 19:39:09 +00:00
clean:
2023-05-18 20:57:20 +00:00
rm -f *~ *.o *.lst HELLO MIDLINE GOOD