mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
37 lines
747 B
Makefile
37 lines
747 B
Makefile
include ../../Makefile.inc
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
B2D = ../../utils/bmp2dhr/b2d
|
|
PNG_TO_40x48D = ../../utils/gr-utils/png_to_40x48d
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
|
|
all: racebeam.dsk
|
|
|
|
racebeam.dsk: HELLO RACEBEAM
|
|
$(DOS33) -y racebeam.dsk SAVE A HELLO
|
|
$(DOS33) -y racebeam.dsk BSAVE -a 0x1000 RACEBEAM
|
|
|
|
|
|
|
|
####
|
|
|
|
RACEBEAM: racebeam.o
|
|
ld65 -o RACEBEAM racebeam.o -C ../../linker_scripts/apple2_1000.inc
|
|
|
|
racebeam.o: racebeam.s
|
|
ca65 -o racebeam.o racebeam.s -l racebeam.lst
|
|
|
|
|
|
#background_final.inc: background_final.png
|
|
# $(PNG_TO_40x48D) asm background_final.png bg_final > background_final.inc
|
|
|
|
|
|
####
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst *.inc RACEBEAM HELLO
|