dos33fsprogs/3d/Makefile

46 lines
1.0 KiB
Makefile
Raw Normal View History

2020-01-03 05:10:21 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
TOKENIZE = ../asoft_basic-utils/tokenize_asoft
PNG2DHGR = ../hgr-utils/png2dhgr
all: 3d.dsk
3d.dsk: HELLO LOAD CUBE_WHITE.BIN CUBE_PINK.BIN CUBE_BLACK.BIN
cp empty.dsk 3d.dsk
$(DOS33) -y 3d.dsk SAVE A HELLO
$(DOS33) -y 3d.dsk SAVE A LOAD
$(DOS33) -y 3d.dsk BSAVE -a 0x2000 CUBE_WHITE.AUX
$(DOS33) -y 3d.dsk BSAVE -a 0x2000 CUBE_WHITE.BIN
$(DOS33) -y 3d.dsk BSAVE -a 0x2000 CUBE_BLACK.AUX
$(DOS33) -y 3d.dsk BSAVE -a 0x2000 CUBE_BLACK.BIN
$(DOS33) -y 3d.dsk BSAVE -a 0x2000 CUBE_PINK.AUX
$(DOS33) -y 3d.dsk BSAVE -a 0x2000 CUBE_PINK.BIN
###
CUBE_WHITE.BIN: cube_white_bg.png
$(PNG2DHGR) ./cube_white_bg.png CUBE_WHITE
CUBE_BLACK.BIN: cube_black_bg.png
$(PNG2DHGR) ./cube_black_bg.png CUBE_BLACK
CUBE_PINK.BIN: cube_pink_bg.png
$(PNG2DHGR) ./cube_pink_bg.png CUBE_PINK
###
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
###
LOAD: load.bas
../asoft_basic-utils/tokenize_asoft < load.bas > LOAD
####
clean:
rm -f *~ *.o LOAD HELLO *.BIN *.AUX