mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
71 lines
1.5 KiB
Makefile
71 lines
1.5 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKERSCRIPTS = ../../../linker_scripts
|
|
|
|
all: plasma.dsk
|
|
|
|
plasma.dsk: HELLO PLASMA PLASMA_TINY PLASMA_BOT WIRES WIRES_BOT
|
|
cp empty.dsk plasma.dsk
|
|
$(DOS33) -y plasma.dsk SAVE A HELLO
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0x300 PLASMA
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0xC00 PLASMA_TINY
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0x36B PLASMA_BOT
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0xC00 WIRES
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0x36B WIRES_BOT
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
PLASMA: plasma.o
|
|
ld65 -o PLASMA plasma.o -C $(LINKERSCRIPTS)/apple2_300.inc
|
|
|
|
plasma.o: plasma.s
|
|
ca65 -o plasma.o plasma.s -l plasma.lst
|
|
|
|
###
|
|
|
|
PLASMA_BOT: plasma_bot.o
|
|
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
|
|
|
|
|
|
###
|
|
|
|
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
|
|
|
|
###
|
|
|
|
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
|
|
|
|
|
|
###
|
|
|
|
WIRES_BOT: wires_bot.o
|
|
ld65 -o WIRES_BOT wires_bot.o -C ./apple2_36b.inc
|
|
|
|
wires_bot.o: wires_bot.s
|
|
ca65 -o wires_bot.o wires_bot.s -l wires_bot.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst PLASMA PLASMA_TINY PLASMA_BOT WIRES WIRES_BOT
|