dos33fsprogs/graphics/hgr/hgr_font/Makefile
2021-08-09 21:46:19 -04:00

35 lines
749 B
Makefile

include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
DOS33_RAW = ../../../utils/dos33fs-utils/dos33_raw
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKER_SCRIPTS = ../../../linker_scripts
EMPTY_DISK = ../../../empty_disk
all: hgr_font.dsk
hgr_font.dsk: HELLO FONT_TEST
cp $(EMPTY_DISK)/empty.dsk hgr_font.dsk
$(DOS33) -y hgr_font.dsk SAVE A HELLO
$(DOS33) -y hgr_font.dsk BSAVE -a 0x6000 FONT_TEST
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
FONT_TEST: font_test.o
ld65 -o FONT_TEST font_test.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
font_test.o: font_test.s hgr_font.s hgr_1x8_sprite.s
ca65 -o font_test.o font_test.s -l font_test.lst
###
clean:
rm -f *~ *.o *.lst HELLO FONT_TEST