mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-06 06:30:36 +00:00
82 lines
1.7 KiB
Makefile
82 lines
1.7 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKERSCRIPTS = ../../../linker_scripts
|
|
EMPTYDISK = ../../../empty_disk/empty.dsk
|
|
|
|
all: plasma.dsk
|
|
|
|
plasma.dsk: HELLO PLASMA PLASMA_128 PLASMA_TINY PLASMA_BOT WIRES WIRES_BOT
|
|
cp $(EMPTYDISK) plasma.dsk
|
|
$(DOS33) -y plasma.dsk SAVE A HELLO
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0x70 PLASMA
|
|
$(DOS33) -y plasma.dsk BSAVE -a 0x70 PLASMA_128
|
|
$(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 ./apple2_70_zp.inc
|
|
|
|
plasma.o: plasma.s
|
|
ca65 -o plasma.o plasma.s -l plasma.lst
|
|
|
|
###
|
|
|
|
PLASMA_128: plasma_128.o
|
|
ld65 -o PLASMA_128 plasma_128.o -C ./apple2_70_zp.inc
|
|
|
|
plasma_128.o: plasma_128.s
|
|
ca65 -o plasma_128.o plasma_128.s -l plasma_128.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_128 PLASMA_TINY PLASMA_BOT WIRES WIRES_BOT
|