mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-28 14:30:52 +00:00
75 lines
1.5 KiB
Makefile
75 lines
1.5 KiB
Makefile
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
|
|
|
|
xdraw.dsk: HELLO TINY_XDRAW TINY_COOL TINY_LINES TINY_CENTER NYAN
|
|
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
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
###
|
|
|
|
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
|
|
|
|
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst HELLO TINY_COOL TINY_XDRAW TINY_LINES TINY_CENTER NYAN
|