mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-14 10:29:46 +00:00
40 lines
828 B
Makefile
40 lines
828 B
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
|
|
EMPTYDISK = ../../../empty_disk
|
|
|
|
all: stargate.dsk
|
|
|
|
$(DOS33):
|
|
cd ../../utils/dos33fs-utils && make
|
|
|
|
stargate.dsk: $(DOS33) HELLO STARGATE
|
|
cp $(EMPTYDISK)/empty.dsk stargate.dsk
|
|
$(DOS33) -y stargate.dsk SAVE A HELLO
|
|
$(DOS33) -y stargate.dsk BSAVE -a 0x37c STARGATE
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
STARGATE: stargate.o
|
|
ld65 -o STARGATE stargate.o -C $(LINKERSCRIPTS)/apple2_37c.inc
|
|
|
|
stargate.o: stargate.s
|
|
ca65 -o stargate.o stargate.s -l stargate.lst
|
|
|
|
|
|
###
|
|
|
|
|
|
clean:
|
|
rm -f *~ *.o HELLO TUNNEL.BAS TUNNEL TUNNEL2 STARGATE T.BAS T *.lst
|
|
|