2021-06-16 17:32:34 +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: boxes.dsk make_boxes
|
|
|
|
|
2021-06-16 17:57:52 +00:00
|
|
|
boxes.dsk: HELLO MYST.BAS MYST_TINY.BAS
|
2021-06-16 17:32:34 +00:00
|
|
|
cp $(EMPTYDISK) boxes.dsk
|
|
|
|
$(DOS33) -y boxes.dsk SAVE A HELLO
|
2021-06-16 17:57:52 +00:00
|
|
|
$(DOS33) -y boxes.dsk SAVE A MYST.BAS
|
|
|
|
$(DOS33) -y boxes.dsk SAVE A MYST_TINY.BAS
|
|
|
|
# $(DOS33) -y boxes.dsk BSAVE -a 0x300 BOXES
|
2021-06-16 17:32:34 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-06-16 17:57:52 +00:00
|
|
|
MYST.BAS: myst.bas
|
|
|
|
$(TOKENIZE) < myst.bas > MYST.BAS
|
2021-06-16 17:32:34 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-06-16 17:57:52 +00:00
|
|
|
MYST_TINY.BAS: myst_tiny.bas
|
|
|
|
$(TOKENIZE) < myst_tiny.bas > MYST_TINY.BAS
|
2021-06-16 17:32:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
make_boxes: make_boxes.o
|
|
|
|
$(CC) -o make_boxes make_boxes.o $(LFLAGS)
|
|
|
|
|
|
|
|
make_boxes.o: make_boxes.c
|
|
|
|
$(CC) $(CFLAGS) -c make_boxes.c
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
clean:
|
2021-06-16 17:57:52 +00:00
|
|
|
rm -f *~ *.o *.lst MYST.BAS MYST_TINY.BAS make_boxes
|