mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-19 14:29:25 +00:00
71 lines
1.8 KiB
Makefile
71 lines
1.8 KiB
Makefile
include ../../Makefile.inc
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKERSCRIPTS = ../../linker_scripts
|
|
EMPTYDISK = ../../empty_disk/empty.dsk
|
|
|
|
all: double.dsk
|
|
|
|
double.dsk: HELLO DOUBLE STATIC
|
|
cp $(EMPTYDISK) double.dsk
|
|
$(DOS33) -y double.dsk SAVE A HELLO
|
|
$(DOS33) -y double.dsk BSAVE -a 0x6000 DOUBLE
|
|
$(DOS33) -y double.dsk BSAVE -a 0x6000 STATIC
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
DOUBLE: double.o
|
|
ld65 -o DOUBLE double.o -C $(LINKERSCRIPTS)/apple2_6000.inc
|
|
|
|
double.o: double.s \
|
|
zp.inc hardware.inc pt3_lib_mockingboard_detect.s \
|
|
pt3_lib_mockingboard_setup.s pt3_lib_detect_model.s \
|
|
zx02_optim.s copy_400.s gr_offsets.s vblank.s \
|
|
text_print.s title.s gr_fast_clear.s \
|
|
interrupt_handler.s pt3_lib_mockingboard_patch.s \
|
|
wait_a_bit.s wait.s pt3_lib_init.s \
|
|
music/fighting.zx02 \
|
|
effect_static.s \
|
|
effect_dhgr_dgr.s \
|
|
effect_dhgr_hgr.s \
|
|
effect_midline.s \
|
|
table/sin.table \
|
|
graphics/sworg_hgr.hgr.zx02 \
|
|
graphics/sworg_dhgr.aux.zx02 \
|
|
graphics/sworg_dhgr.bin.zx02 \
|
|
graphics/sworg_dgr.main.zx02 \
|
|
graphics/sworg_dgr.aux.zx02
|
|
ca65 -o double.o double.s -l double.lst
|
|
|
|
###
|
|
|
|
STATIC: static.o
|
|
ld65 -o STATIC static.o -C $(LINKERSCRIPTS)/apple2_6000.inc
|
|
|
|
static.o: static.s \
|
|
zp.inc hardware.inc pt3_lib_mockingboard_detect.s \
|
|
pt3_lib_mockingboard_setup.s pt3_lib_detect_model.s \
|
|
zx02_optim.s copy_400.s gr_offsets.s vblank.s \
|
|
text_print.s title.s gr_fast_clear.s \
|
|
interrupt_handler.s pt3_lib_mockingboard_patch.s \
|
|
wait_a_bit.s wait.s pt3_lib_init.s \
|
|
music/fighting.zx02 \
|
|
graphics/sworg_hgr.hgr.zx02 \
|
|
graphics/sworg_dhgr.aux.zx02 \
|
|
graphics/sworg_dhgr.bin.zx02 \
|
|
graphics/sworg_dgr.main.zx02 \
|
|
graphics/sworg_dgr.aux.zx02
|
|
ca65 -o static.o static.s -l static.lst
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst HELLO DOUBLE STATIC
|