dos33fsprogs/graphics/gr/rotozoom/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

2021-01-06 16:52:07 +00:00
include ../../../Makefile.inc
2021-01-06 15:20:10 +00:00
2021-01-06 16:52:07 +00:00
DOS33 = ../../../utils/dos33fs-utils/dos33
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../../linker_scripts
2021-01-06 15:20:10 +00:00
2021-01-07 18:26:31 +00:00
all: roto.dsk make_sine_table
2021-01-06 15:20:10 +00:00
roto.dsk: HELLO ROTO ROTOPLASMA ROTOPLASMA_TINY
2021-01-06 19:00:59 +00:00
cp empty.dsk roto.dsk
$(DOS33) -y roto.dsk SAVE A HELLO
$(DOS33) -y roto.dsk BSAVE -a 0x1000 ROTO
2021-01-11 04:56:51 +00:00
$(DOS33) -y roto.dsk BSAVE -a 0x1000 ROTOPLASMA
$(DOS33) -y roto.dsk BSAVE -a 0x1000 ROTOPLASMA_TINY
2021-01-06 15:20:10 +00:00
###
2021-01-06 19:00:59 +00:00
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
2021-01-06 15:20:10 +00:00
2021-01-06 19:00:59 +00:00
###
ROTO: roto.o
ld65 -o ROTO roto.o -C $(LINKERSCRIPTS)/apple2_1000.inc
roto.o: roto.s rotozoom.s gr_plot.s gr_scrn.s
ca65 -o roto.o roto.s -l roto.lst
2021-01-06 15:20:10 +00:00
###
2021-01-11 04:56:51 +00:00
ROTOPLASMA: rotoplasma.o
ld65 -o ROTOPLASMA rotoplasma.o -C $(LINKERSCRIPTS)/apple2_1000.inc
rotoplasma.o: rotoplasma.s rotozoom_texture.s plasma.s
ca65 -o rotoplasma.o rotoplasma.s -l rotoplasma.lst
###
ROTOPLASMA_TINY: rotoplasma_tiny.o
ld65 -o ROTOPLASMA_TINY rotoplasma_tiny.o -C $(LINKERSCRIPTS)/apple2_1000.inc
rotoplasma_tiny.o: rotoplasma_tiny.s rotozoom_texture.s plasma.s
ca65 -o rotoplasma_tiny.o rotoplasma_tiny.s -l rotoplasma_tiny.lst
2021-01-11 04:56:51 +00:00
###
2021-01-07 18:26:31 +00:00
make_sine_table: make_sine_table.o
$(CC) -o make_sine_table make_sine_table.o -lm
make_sine_table.o: make_sine_table.c
$(CC) $(CFLAGS) -c make_sine_table.c
###
2021-01-06 15:20:10 +00:00
clean:
rm -f *~ *.o *.lst ROTO ROTOPLASMA ROTOPLASMA_TINY make_sine_table