2021-01-05 16:34:36 -05:00
|
|
|
include ../../Makefile.inc
|
2018-05-27 01:03:45 -04:00
|
|
|
|
2021-01-05 16:34:36 -05:00
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
2021-03-04 00:06:51 -05:00
|
|
|
EMPTYDISK = ../../empty_disk/empty.dsk
|
2018-05-27 01:03:45 -04:00
|
|
|
|
2020-10-14 11:27:12 -04:00
|
|
|
all: entropy.dsk
|
2018-05-27 01:03:45 -04:00
|
|
|
|
2021-03-04 00:06:51 -05:00
|
|
|
entropy.dsk: HELLO ENTROPY.BAS ENTROPY ENTROPY_TINY
|
|
|
|
cp $(EMPTYDISK) entropy.dsk
|
|
|
|
$(DOS33) -y entropy.dsk SAVE A HELLO
|
2018-05-27 18:45:07 -04:00
|
|
|
$(DOS33) -y entropy.dsk SAVE A ENTROPY.BAS
|
2021-03-04 00:06:51 -05:00
|
|
|
$(DOS33) -y entropy.dsk BSAVE -a 0x0C00 ENTROPY
|
|
|
|
$(DOS33) -y entropy.dsk BSAVE -a 0x0C00 ENTROPY_TINY
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
2020-10-04 01:31:39 -04:00
|
|
|
|
|
|
|
###
|
2018-05-27 01:03:45 -04:00
|
|
|
|
|
|
|
ENTROPY: entropy.o
|
2021-01-05 16:34:36 -05:00
|
|
|
ld65 -o ENTROPY entropy.o -C ../../linker_scripts/apple2_c00.inc
|
2018-05-27 01:03:45 -04:00
|
|
|
|
|
|
|
entropy.o: entropy.s
|
|
|
|
ca65 -o entropy.o entropy.s -l entropy.lst
|
|
|
|
|
2021-03-04 00:06:51 -05:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
ENTROPY_TINY: entropy_tiny.o
|
|
|
|
ld65 -o ENTROPY_TINY entropy_tiny.o -C ../../linker_scripts/apple2_c00.inc
|
|
|
|
|
|
|
|
entropy_tiny.o: entropy_tiny.s
|
|
|
|
ca65 -o entropy_tiny.o entropy_tiny.s -l entropy_tiny.lst
|
|
|
|
|
|
|
|
|
2020-10-04 01:31:39 -04:00
|
|
|
####
|
|
|
|
|
2018-05-27 18:45:07 -04:00
|
|
|
ENTROPY.BAS: entropy.bas
|
|
|
|
$(TOKENIZE) < entropy.bas > ENTROPY.BAS
|
|
|
|
|
2020-10-04 01:31:39 -04:00
|
|
|
####
|
|
|
|
|
2018-05-27 01:03:45 -04:00
|
|
|
clean:
|
2021-03-04 00:06:51 -05:00
|
|
|
rm -f *~ *.o *.lst ENTROPY ENTROPY.BAS HELLO ENTROPY_TINY
|