mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 23:54:33 +00:00
33 lines
613 B
Makefile
33 lines
613 B
Makefile
include ../../Makefile.inc
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
|
PNG2DHGR = ../../utils/hgr-utils/png2dhgr
|
|
|
|
all: gr_viewer.dsk
|
|
|
|
gr_viewer.dsk: HELLO LOADER
|
|
$(DOS33) -y gr_viewer.dsk SAVE A HELLO
|
|
$(DOS33) -y gr_viewer.dsk BSAVE -a 0x1000 LOADER
|
|
# $(DOS33) -y gr_viewer.dsk BSAVE -a 0x800 F09.GR
|
|
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZER) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
LOADER: loader.o
|
|
ld65 -o LOADER loader.o -C ../../linker_scripts/apple2_1000.inc
|
|
|
|
loader.o: loader.s
|
|
ca65 -o loader.o loader.s -l loader.lst
|
|
|
|
####
|
|
|
|
|
|
clean:
|
|
rm -f *~ *.o LOADER HELLO *.lst
|