mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-07 12:31:57 +00:00
ad103d2feb
add some hgr_vlin code
68 lines
1.4 KiB
Makefile
68 lines
1.4 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKER_SCRIPTS = ../../../linker_scripts
|
|
EMPTY_DISK = ../../../empty_disk
|
|
|
|
all: lines.dsk
|
|
|
|
lines.dsk: HELLO LINES LINES_ROM HLIN_TEST VLIN_TEST
|
|
cp $(EMPTY_DISK)/empty.dsk lines.dsk
|
|
$(DOS33) -y lines.dsk SAVE A HELLO
|
|
$(DOS33) -y lines.dsk BSAVE -a 0x0C00 LINES
|
|
$(DOS33) -y lines.dsk BSAVE -a 0x0C00 LINES_ROM
|
|
$(DOS33) -y lines.dsk BSAVE -a 0x0C00 HLIN_TEST
|
|
$(DOS33) -y lines.dsk BSAVE -a 0x0C00 VLIN_TEST
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
TRIANGLE.BAS: triangle.bas
|
|
$(TOKENIZE) < triangle.bas > TRIANGLE.BAS
|
|
|
|
|
|
###
|
|
|
|
LINES: lines.o
|
|
ld65 -o LINES lines.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
lines.o: lines.s
|
|
ca65 -o lines.o lines.s -l lines.lst
|
|
|
|
###
|
|
|
|
LINES_ROM: lines_rom.o
|
|
ld65 -o LINES_ROM lines_rom.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
lines_rom.o: lines_rom.s
|
|
ca65 -o lines_rom.o lines_rom.s -l lines_rom.lst
|
|
|
|
###
|
|
|
|
HLIN_TEST: hlin_test.o
|
|
ld65 -o HLIN_TEST hlin_test.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
hlin_test.o: hlin_test.s hgr_hlin.s
|
|
ca65 -o hlin_test.o hlin_test.s -l hlin_test.lst
|
|
|
|
###
|
|
|
|
VLIN_TEST: vlin_test.o
|
|
ld65 -o VLIN_TEST vlin_test.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
vlin_test.o: vlin_test.s hgr_vlin.s
|
|
ca65 -o vlin_test.o vlin_test.s -l vlin_test.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst HELLO LINES LINES_ROM HLIN_TEST VLIN_TEST
|
|
|