dos33fsprogs/graphics/gr/plasma/Makefile

60 lines
1.2 KiB
Makefile
Raw Normal View History

2021-01-09 06:41:44 +00:00
include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../../linker_scripts
all: plasma.dsk
2021-02-13 06:13:44 +00:00
plasma.dsk: HELLO PLASMA PLASMA_TINY PLASMA_BOT WIRES
2021-01-09 06:41:44 +00:00
cp empty.dsk plasma.dsk
$(DOS33) -y plasma.dsk SAVE A HELLO
$(DOS33) -y plasma.dsk BSAVE -a 0x300 PLASMA
2021-01-09 20:00:32 +00:00
$(DOS33) -y plasma.dsk BSAVE -a 0xC00 PLASMA_TINY
2021-01-10 20:11:32 +00:00
$(DOS33) -y plasma.dsk BSAVE -a 0x36B PLASMA_BOT
2021-02-13 06:13:44 +00:00
$(DOS33) -y plasma.dsk BSAVE -a 0xC00 WIRES
2021-01-09 06:41:44 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
PLASMA: plasma.o
ld65 -o PLASMA plasma.o -C $(LINKERSCRIPTS)/apple2_300.inc
2021-01-09 06:41:44 +00:00
2021-01-09 16:58:12 +00:00
plasma.o: plasma.s
2021-01-09 06:41:44 +00:00
ca65 -o plasma.o plasma.s -l plasma.lst
###
PLASMA_BOT: plasma_bot.o
2021-01-10 20:11:32 +00:00
ld65 -o PLASMA_BOT plasma_bot.o -C ./apple2_36b.inc
plasma_bot.o: plasma_bot.s
ca65 -o plasma_bot.o plasma_bot.s -l plasma_bot.lst
###
2021-01-09 20:00:32 +00:00
PLASMA_TINY: plasma_tiny.o
ld65 -o PLASMA_TINY plasma_tiny.o -C $(LINKERSCRIPTS)/apple2_c00.inc
plasma_tiny.o: plasma_tiny.s
ca65 -o plasma_tiny.o plasma_tiny.s -l plasma_tiny.lst
2021-02-13 06:13:44 +00:00
###
WIRES: wires.o
ld65 -o WIRES wires.o -C $(LINKERSCRIPTS)/apple2_c00.inc
wires.o: wires.s
ca65 -o wires.o wires.s -l wires.lst
2021-01-09 20:00:32 +00:00
###
2021-01-09 06:41:44 +00:00
clean:
rm -f *~ *.o *.lst PLASMA PLASMA_TINY PLASMA_BOT