dos33fsprogs/graphics/hgr/sine/Makefile

72 lines
1.6 KiB
Makefile
Raw Normal View History

2022-01-25 19:16:08 +00:00
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_hgr.dsk
2022-01-25 20:44:27 +00:00
plasma_hgr.dsk: HELLO APPROX_SINE THICK_SINE THICK_COS TABLE_SINE ROM_SINE
2022-01-25 19:16:08 +00:00
cp $(EMPTYDISK) plasma_hgr.dsk
$(DOS33) -y plasma_hgr.dsk SAVE A HELLO
$(DOS33) -y plasma_hgr.dsk BSAVE -a 0xc00 APPROX_SINE
2022-01-25 20:44:27 +00:00
$(DOS33) -y plasma_hgr.dsk BSAVE -a 0xc00 TABLE_SINE
2022-01-25 19:16:08 +00:00
$(DOS33) -y plasma_hgr.dsk BSAVE -a 0xc00 ROM_SINE
2022-01-25 20:44:27 +00:00
$(DOS33) -y plasma_hgr.dsk BSAVE -a 0xc00 THICK_SINE
$(DOS33) -y plasma_hgr.dsk BSAVE -a 0xc00 THICK_COS
2022-01-25 19:16:08 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
APPROX_SINE: approx_sine.o
ld65 -o APPROX_SINE approx_sine.o -C $(LINKERSCRIPTS)/apple2_c00.inc
approx_sine.o: approx_sine.s
ca65 -o approx_sine.o approx_sine.s -l approx_sine.lst
###
THICK_SINE: thick_sine.o
ld65 -o THICK_SINE thick_sine.o -C $(LINKERSCRIPTS)/apple2_c00.inc
thick_sine.o: thick_sine.s
ca65 -o thick_sine.o thick_sine.s -l thick_sine.lst
###
2022-01-25 20:44:27 +00:00
THICK_COS: thick_cos.o
ld65 -o THICK_COS thick_cos.o -C $(LINKERSCRIPTS)/apple2_c00.inc
thick_cos.o: thick_cos.s
ca65 -o thick_cos.o thick_cos.s -l thick_cos.lst
###
TABLE_SINE: table_sine.o
ld65 -o TABLE_SINE table_sine.o -C $(LINKERSCRIPTS)/apple2_c00.inc
table_sine.o: table_sine.s
ca65 -o table_sine.o table_sine.s -l table_sine.lst
###
2022-01-25 19:16:08 +00:00
ROM_SINE: rom_sine.o
ld65 -o ROM_SINE rom_sine.o -C $(LINKERSCRIPTS)/apple2_c00.inc
rom_sine.o: rom_sine.s
ca65 -o rom_sine.o rom_sine.s -l rom_sine.lst
###
clean:
2022-01-25 20:44:27 +00:00
rm -f *~ *.o *.lst THICK_SINE THICK_COS \
TABLE_SINE ROM_SINE APPROX_SINE
2022-01-25 19:16:08 +00:00