mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-07 05:54:25 +00:00
35 lines
749 B
Makefile
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
|
|
|