dos33fsprogs/demos/demosplash2022/Makefile

64 lines
1.6 KiB
Makefile
Raw Permalink Normal View History

2022-11-12 19:32:56 +00:00
include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
EMPTYDISK = ../../empty_disk/empty.dsk
PICTUREDSK = ~/research/picturedsk.git/picturedsk
LINKER_SCRIPTS = ../../linker_scripts/
2022-11-13 06:07:13 +00:00
all: apple_desire.dsk
2022-11-12 19:32:56 +00:00
###
2022-11-13 06:07:13 +00:00
apple_desire.dsk: HELLO APPLE_DESIRE
cp $(EMPTYDISK) apple_desire.dsk
$(DOS33) -y apple_desire.dsk SAVE A HELLO
$(DOS33) -y apple_desire.dsk BSAVE -a 0xc00 APPLE_DESIRE
2022-11-12 19:32:56 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
2023-01-02 07:22:26 +00:00
submit: apple2_desire.zip
apple2_desire.zip: APPLE_DESIRE apple_desire.dsk
mkdir -p demosplash2022_apple2_desire
mkdir -p demosplash2022_apple2_desire/src
cp APPLE_DESIRE ./demosplash2022_apple2_desire
cp *.s ./demosplash2022_apple2_desire/src
cp *.inc ./demosplash2022_apple2_desire/src
cp file_id.diz ./demosplash2022_apple2_desire
cp apple_desire.dsk ./demosplash2022_apple2_desire
cp apple2_desire.mkv ./demosplash2022_apple2_desire
cp a2_desire_screen.png ./demosplash2022_apple2_desire
zip -r apple2_desire.zip demosplash2022_apple2_desire
2022-11-12 19:32:56 +00:00
####
2022-11-13 06:07:13 +00:00
APPLE_DESIRE: apple_desire.o
ld65 -o APPLE_DESIRE apple_desire.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
2022-11-12 19:32:56 +00:00
2022-11-13 06:07:13 +00:00
apple_desire.o: apple_desire.s \
2022-11-13 02:22:20 +00:00
logo_intro.s zp.inc \
2022-11-13 06:07:13 +00:00
ay3_write_regs.s apple_desire.s interrupt_handler.s \
2022-11-13 04:23:32 +00:00
play_frame.s draw_letter.s freq.s freq_h.s bamps.s \
apple_logo.s \
2022-11-12 19:32:56 +00:00
mA2E_4.s mockingboard_constants.s mockingboard_init.s tracker_init.s
2022-11-13 06:07:13 +00:00
ca65 -o apple_desire.o apple_desire.s -l apple_desire.lst
2022-11-12 19:32:56 +00:00
####
make_points: make_points.o
$(CC) -o make_points make_points.o
make_points.o: make_points.c
$(CC) $(CFLAGS) -c make_points.c
####
clean:
2022-11-13 06:07:13 +00:00
rm -f *~ *.o *.lst APPLE_DESIRE *.zip make_points
2022-11-12 19:32:56 +00:00