dos33fsprogs/two-liners/Makefile

29 lines
530 B
Makefile
Raw Normal View History

2018-05-27 05:03:45 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
TOKENIZE = ../asoft_basic-utils/tokenize_asoft
all: entropy.dsk
2018-05-27 05:03:45 +00:00
entropy.dsk: ENTROPY ENTROPY.BAS
2018-05-27 05:03:45 +00:00
$(DOS33) -y entropy.dsk BSAVE -a 0x0C00 ENTROPY
2018-05-27 22:45:07 +00:00
$(DOS33) -y entropy.dsk SAVE A ENTROPY.BAS
###
2018-05-27 05:03:45 +00:00
ENTROPY: entropy.o
ld65 -o ENTROPY entropy.o -C ../linker_scripts/apple2_c00.inc
entropy.o: entropy.s
ca65 -o entropy.o entropy.s -l entropy.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:
rm -f *~ *.o *.lst ENTROPY ENTROPY.BAS