dos33fsprogs/graphics/dhgr/Makefile

80 lines
1.5 KiB
Makefile
Raw Normal View History

2021-01-05 23:33:30 +00:00
include ../../Makefile.inc
2020-10-07 21:01:18 +00:00
2021-01-05 23:33:30 +00:00
DOS33 = ../../utils/dos33fs-utils/dos33
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
2020-10-07 21:01:18 +00:00
all: dhgr.dsk
2021-01-25 20:28:49 +00:00
dhgr.dsk: HELLO RASTER RASTER2 RASTER3 RASTER4 BITS LOTS
2020-10-09 05:06:02 +00:00
cp empty.dsk dhgr.dsk
2021-01-25 20:28:49 +00:00
$(DOS33) -y plasma.dsk SAVE A HELLO
2020-10-07 21:01:18 +00:00
$(DOS33) -y dhgr.dsk BSAVE -a 0x0300 RASTER
2020-10-09 05:06:02 +00:00
$(DOS33) -y dhgr.dsk BSAVE -a 0x0300 RASTER2
$(DOS33) -y dhgr.dsk BSAVE -a 0x0300 RASTER3
$(DOS33) -y dhgr.dsk BSAVE -a 0x0300 RASTER4
2020-10-07 21:01:18 +00:00
$(DOS33) -y dhgr.dsk BSAVE -a 0x0300 BITS
$(DOS33) -y dhgr.dsk BSAVE -a 0x0300 LOTS
###
2021-01-25 20:28:49 +00:00
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
2020-10-07 21:01:18 +00:00
RASTER: raster.o
2021-01-05 23:33:30 +00:00
ld65 -o RASTER raster.o -C ../../linker_scripts/apple2_300.inc
2020-10-07 21:01:18 +00:00
raster.o: raster.s
ca65 -o raster.o raster.s -l raster.lst
2020-10-09 05:06:02 +00:00
###
RASTER2: raster2.o
2021-01-05 23:33:30 +00:00
ld65 -o RASTER2 raster2.o -C ../../linker_scripts/apple2_300.inc
2020-10-09 05:06:02 +00:00
raster2.o: raster2.s
ca65 -o raster2.o raster2.s -l raster2.lst
###
RASTER3: raster3.o
2021-01-05 23:33:30 +00:00
ld65 -o RASTER3 raster3.o -C ../../linker_scripts/apple2_300.inc
2020-10-09 05:06:02 +00:00
raster3.o: raster3.s
ca65 -o raster3.o raster3.s -l raster3.lst
###
RASTER4: raster4.o
2021-01-05 23:33:30 +00:00
ld65 -o RASTER4 raster4.o -C ../../linker_scripts/apple2_300.inc
2020-10-09 05:06:02 +00:00
raster4.o: raster4.s
ca65 -o raster4.o raster4.s -l raster4.lst
2020-10-07 21:01:18 +00:00
###
LOTS: lots.o
2021-01-05 23:33:30 +00:00
ld65 -o LOTS lots.o -C ../../linker_scripts/apple2_300.inc
2020-10-07 21:01:18 +00:00
lots.o: lots.s
ca65 -o lots.o lots.s -l lots.lst
###
BITS: bits.o
2021-01-05 23:33:30 +00:00
ld65 -o BITS bits.o -C ../../linker_scripts/apple2_300.inc
2020-10-07 21:01:18 +00:00
bits.o: bits.s
ca65 -o bits.o bits.s -l bits.lst
####
clean:
2021-01-05 23:33:30 +00:00
rm -f *~ *.o *.lst RASTER RASTER2 RASTER3 RASTER4 BITS LOTS encode6