Files
dos33fsprogs/basic/ampersand_usr/Makefile
Vince Weaver 05b6d71430 ampersand_usr: add code here
hopefully these examples will be useful in the future
2025-02-25 20:16:29 -05:00

44 lines
764 B
Makefile

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../linker_scripts
EMPTYDISK = ../../empty_disk
all: starpath.dsk ANDOR
$(DOS33):
cd ../../utils/dos33fs-utils && make
starpath.dsk: $(DOS33) HELLO STARPATH.BAS
cp $(EMPTYDISK)/empty.dsk starpath.dsk
$(DOS33) -y starpath.dsk SAVE A HELLO
$(DOS33) -y starpath.dsk SAVE A STARPATH.BAS
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
STARPATH.BAS: starpath.bas
$(TOKENIZE) < starpath.bas > STARPATH.BAS
####
ANDOR: andor.o
ld65 -o ANDOR andor.o -C $(LINKERSCRIPTS)/apple2_300.inc
andor.o: andor.s
ca65 -o andor.o andor.s -l andor.lst
###
clean:
rm -f *~ *.o HELLO STARPATH.BAS ANDOR *.lst