dos33fsprogs/fac/Makefile

33 lines
548 B
Makefile
Raw Normal View History

2023-09-06 00:44:36 +00:00
include ../Makefile.inc
DOS33 = ../utils/dos33fs-utils/dos33
TOKENIZE = ../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../linker_scripts
EMPTYDISK = ../empty_disk/empty.dsk
all: fac.dsk
2023-09-06 04:21:25 +00:00
fac.dsk: HELLO SIN3
2023-09-06 00:44:36 +00:00
cp $(EMPTYDISK) fac.dsk
$(DOS33) -y fac.dsk SAVE A HELLO
2023-09-06 04:21:25 +00:00
$(DOS33) -y fac.dsk BSAVE -a 0xC00 SIN3
2023-09-06 00:44:36 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
2023-09-06 04:21:25 +00:00
SIN3: sin3.o
ld65 -o SIN3 sin3.o -C $(LINKERSCRIPTS)/apple2_c00.inc
2023-09-06 00:44:36 +00:00
2023-09-06 04:21:25 +00:00
sin3.o: sin3.s
ca65 -o sin3.o sin3.s -l sin3.lst
2023-09-06 00:44:36 +00:00
###
clean:
2023-09-06 04:21:25 +00:00
rm -f *~ *.o *.lst SIN3 HELLO