mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-01 01:06:33 +00:00
51 lines
1.1 KiB
Makefile
51 lines
1.1 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: fac.dsk
|
|
|
|
fac.dsk: HELLO SIN3 PLASMA_TABLES PLASMA_OPT
|
|
cp $(EMPTYDISK) fac.dsk
|
|
$(DOS33) -y fac.dsk SAVE A HELLO
|
|
$(DOS33) -y fac.dsk BSAVE -a 0xC00 SIN3
|
|
$(DOS33) -y fac.dsk BSAVE -a 0xC00 PLASMA_TABLES
|
|
$(DOS33) -y fac.dsk BSAVE -a 0xC00 PLASMA_OPT
|
|
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
SIN3: sin3.o
|
|
ld65 -o SIN3 sin3.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
sin3.o: sin3.s
|
|
ca65 -o sin3.o sin3.s -l sin3.lst
|
|
|
|
###
|
|
|
|
PLASMA_TABLES: plasma_tables.o
|
|
ld65 -o PLASMA_TABLES plasma_tables.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
plasma_tables.o: plasma_tables.s
|
|
ca65 -o plasma_tables.o plasma_tables.s -l plasma_tables.lst
|
|
|
|
###
|
|
|
|
PLASMA_OPT: plasma_opt.o
|
|
ld65 -o PLASMA_OPT plasma_opt.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
plasma_opt.o: plasma_opt.s
|
|
ca65 -o plasma_opt.o plasma_opt.s -l plasma_opt.lst
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst SIN3 HELLO PLASMA_TABLES PLASMA_OPT
|