dos33fsprogs/graphics/gr_viewer/Makefile

33 lines
613 B
Makefile
Raw Normal View History

2021-01-05 23:36:47 +00:00
include ../../Makefile.inc
2020-01-13 05:32:47 +00:00
2021-01-05 23:36:47 +00:00
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
PNG2DHGR = ../../utils/hgr-utils/png2dhgr
2020-01-13 05:32:47 +00:00
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
2020-01-14 01:05:01 +00:00
# $(DOS33) -y gr_viewer.dsk BSAVE -a 0x800 F09.GR
2020-01-13 06:52:15 +00:00
2020-01-13 05:32:47 +00:00
###
HELLO: hello.bas
2021-01-05 23:36:47 +00:00
$(TOKENIZER) < hello.bas > HELLO
2020-01-13 05:32:47 +00:00
###
LOADER: loader.o
2021-01-05 23:36:47 +00:00
ld65 -o LOADER loader.o -C ../../linker_scripts/apple2_1000.inc
2020-01-13 05:32:47 +00:00
loader.o: loader.s
ca65 -o loader.o loader.s -l loader.lst
####
clean:
2020-01-13 06:52:15 +00:00
rm -f *~ *.o LOADER HELLO *.lst