dos33fsprogs/graphics/hgr/xdraw/Makefile

93 lines
1.9 KiB
Makefile
Raw Normal View History

2021-05-03 18:24:28 +00:00
include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
EMPTYDISK = ../../../empty_disk/empty.dsk
LINKERSCRIPTS = ../../../linker_scripts
all: xdraw.dsk
2021-05-05 17:07:09 +00:00
xdraw.dsk: HELLO TINY_XDRAW TINY_COOL TINY_LINES TINY_CENTER NYAN XDRAW_TEST SHIMMER
2021-05-03 18:24:28 +00:00
cp $(EMPTYDISK) xdraw.dsk
$(DOS33) -y xdraw.dsk SAVE A HELLO
$(DOS33) -y xdraw.dsk BSAVE -a 0xE7 TINY_XDRAW
$(DOS33) -y xdraw.dsk BSAVE -a 0xE7 TINY_COOL
$(DOS33) -y xdraw.dsk BSAVE -a 0xE7 TINY_LINES
$(DOS33) -y xdraw.dsk BSAVE -a 0xE7 TINY_CENTER
$(DOS33) -y xdraw.dsk BSAVE -a 0xC00 NYAN
2021-05-03 20:48:33 +00:00
$(DOS33) -y xdraw.dsk BSAVE -a 0xE7 XDRAW_TEST
2021-05-05 17:07:09 +00:00
$(DOS33) -y xdraw.dsk BSAVE -a 0xC00 SHIMMER
2021-05-03 18:24:28 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
2021-05-03 20:48:33 +00:00
###
XDRAW_TEST: xdraw_test.o
ld65 -o XDRAW_TEST xdraw_test.o -C ./apple2_e7_zp.inc
xdraw_test.o: xdraw_test.s
ca65 -o xdraw_test.o xdraw_test.s -l xdraw_test.lst
2021-05-03 18:24:28 +00:00
###
TINY_XDRAW: tiny_xdraw.o
ld65 -o TINY_XDRAW tiny_xdraw.o -C ./apple2_e7_zp.inc
tiny_xdraw.o: tiny_xdraw.s
ca65 -o tiny_xdraw.o tiny_xdraw.s -l tiny_xdraw.lst
###
TINY_COOL: tiny_cool.o
ld65 -o TINY_COOL tiny_cool.o -C ./apple2_e7_zp.inc
tiny_cool.o: tiny_cool.s
ca65 -o tiny_cool.o tiny_cool.s -l tiny_cool.lst
###
TINY_CENTER: tiny_center.o
ld65 -o TINY_CENTER tiny_center.o -C ./apple2_e7_zp.inc
tiny_center.o: tiny_center.s
ca65 -o tiny_center.o tiny_center.s -l tiny_center.lst
###
TINY_LINES: tiny_lines.o
ld65 -o TINY_LINES tiny_lines.o -C ./apple2_e7_zp.inc
tiny_lines.o: tiny_lines.s
ca65 -o tiny_lines.o tiny_lines.s -l tiny_lines.lst
###
NYAN: nyan.o
ld65 -o NYAN nyan.o -C $(LINKERSCRIPTS)/apple2_c00.inc
nyan.o: nyan.s
ca65 -o nyan.o nyan.s -l nyan.lst
2021-05-05 17:07:09 +00:00
###
SHIMMER: shimmer.o
ld65 -o SHIMMER shimmer.o -C $(LINKERSCRIPTS)/apple2_c00.inc
shimmer.o: shimmer.s
ca65 -o shimmer.o shimmer.s -l shimmer.lst
2021-05-03 18:24:28 +00:00
####
clean:
2021-05-05 17:07:09 +00:00
rm -f *~ *.o *.lst HELLO TINY_COOL TINY_XDRAW TINY_LINES TINY_CENTER NYAN XDRAW_TEST SHIMMER