dos33fsprogs/graphics/gr/plasma/Makefile

41 lines
818 B
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-01-09 20:00:32 +00:00
plasma.dsk: HELLO PLASMA PLASMA_TINY
2021-01-09 06:41:44 +00:00
cp empty.dsk plasma.dsk
$(DOS33) -y plasma.dsk SAVE A HELLO
2021-01-09 16:58:12 +00:00
$(DOS33) -y plasma.dsk BSAVE -a 0xC00 PLASMA
2021-01-09 20:00:32 +00:00
$(DOS33) -y plasma.dsk BSAVE -a 0xC00 PLASMA_TINY
2021-01-09 06:41:44 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
PLASMA: plasma.o
2021-01-09 16:58:12 +00:00
ld65 -o PLASMA plasma.o -C $(LINKERSCRIPTS)/apple2_c00.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
###
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-01-09 06:41:44 +00:00
clean:
rm -f *~ *.o *.lst PLASMA