dos33fsprogs/basic/two-liners/Makefile

48 lines
1013 B
Makefile
Raw Normal View History

include ../../Makefile.inc
2018-05-27 05:03:45 +00:00
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
2021-03-04 05:06:51 +00:00
EMPTYDISK = ../../empty_disk/empty.dsk
2018-05-27 05:03:45 +00:00
all: entropy.dsk
2018-05-27 05:03:45 +00:00
2021-03-04 05:06:51 +00:00
entropy.dsk: HELLO ENTROPY.BAS ENTROPY ENTROPY_TINY
cp $(EMPTYDISK) entropy.dsk
$(DOS33) -y entropy.dsk SAVE A HELLO
2018-05-27 22:45:07 +00:00
$(DOS33) -y entropy.dsk SAVE A ENTROPY.BAS
2021-03-04 05:06:51 +00: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
###
2018-05-27 05:03:45 +00:00
ENTROPY: entropy.o
ld65 -o ENTROPY entropy.o -C ../../linker_scripts/apple2_c00.inc
2018-05-27 05:03:45 +00:00
entropy.o: entropy.s
ca65 -o entropy.o entropy.s -l entropy.lst
2021-03-04 05:06:51 +00: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
####
2018-05-27 22:45:07 +00:00
ENTROPY.BAS: entropy.bas
$(TOKENIZE) < entropy.bas > ENTROPY.BAS
####
2018-05-27 05:03:45 +00:00
clean:
2021-03-04 05:06:51 +00:00
rm -f *~ *.o *.lst ENTROPY ENTROPY.BAS HELLO ENTROPY_TINY