mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 23:54:33 +00:00
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
PNG2GR = ../../../utils/gr-utils/png2gr
|
|
PNG2RLE = ../../../utils/gr-utils/png2rle
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKERSCRIPTS = ../../../linker_scripts
|
|
|
|
all: starfield.dsk
|
|
|
|
$(DOS33):
|
|
cd ../../../utils/dos33fs-utils && make
|
|
|
|
starfield.dsk: $(DOS33) HELLO STARFIELD_DEMO STARFIELD_1K
|
|
cp empty.dsk starfield.dsk
|
|
$(DOS33) -y starfield.dsk SAVE A HELLO
|
|
$(DOS33) -y starfield.dsk BSAVE -a 0x1000 STARFIELD_DEMO
|
|
$(DOS33) -y starfield.dsk BSAVE -a 0x1000 STARFIELD_1K
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
STARFIELD_DEMO: starfield_demo.o
|
|
ld65 -o STARFIELD_DEMO starfield_demo.o -C $(LINKERSCRIPTS)/apple2_1000.inc
|
|
|
|
starfield_demo.o: starfield_demo.s \
|
|
gr_scroll.s \
|
|
pageflip.s \
|
|
gr_setpage.s \
|
|
gr_fast_clear.s
|
|
ca65 -o starfield_demo.o starfield_demo.s -l starfield_demo.lst
|
|
|
|
###
|
|
|
|
STARFIELD_1K: starfield_1k.o
|
|
ld65 -o STARFIELD_1K starfield_1k.o -C $(LINKERSCRIPTS)/apple2_1000.inc
|
|
|
|
starfield_1k.o: starfield_1k.s \
|
|
gr_scroll.s \
|
|
pageflip.s \
|
|
gr_setpage.s \
|
|
gr_fast_clear.s
|
|
ca65 -o starfield_1k.o starfield_1k.s -l starfield_1k.lst
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o STARFIELD_DEMO STARFIELD_1K *.lst
|
|
|