dos33fsprogs/ksp/Makefile
2016-05-24 16:04:32 -04:00

51 lines
1.0 KiB
Makefile

PCX2HGR = ../hgr-utils/pcx2hgr
DOS33 = ../dos33fs-utils/dos33
TXT2BAS = ../asoft_basic-utils/tokenize_asoft
all: ksp.dsk
basic: VAB.BAS THEME.BAS
ACMPLX.BAS: acmplx.bas
$(TXT2BAS) < acmplx.bas > ACMPLX.BAS
LAUNCH.BAS: launch.bas
$(TXT2BAS) < launch.bas > LAUNCH.BAS
LOADING.BAS: loading.bas
$(TXT2BAS) < loading.bas > LOADING.BAS
VAB.BAS: vab.bas
$(TXT2BAS) < vab.bas > VAB.BAS
ksp.dsk: ACMPLX.BAS \
LAUNCH.BAS \
LOADING.BAS LOADING.HGR SQUAD.HGR TITLE.HGR \
VAB.BAS VAB.HGR
$(DOS33) -y ksp.dsk SAVE B LOADING.HGR
$(DOS33) -y ksp.dsk SAVE B SQUAD.HGR
$(DOS33) -y ksp.dsk SAVE B TITLE.HGR
$(DOS33) -y ksp.dsk SAVE A VAB.BAS
$(DOS33) -y ksp.dsk SAVE B VAB.HGR
$(DOS33) -y ksp.dsk SAVE A LOADING.BAS
$(DOS33) -y ksp.dsk SAVE A ACMPLX.BAS
$(DOS33) -y ksp.dsk SAVE A LAUNCH.BAS
LOADING.HGR: loading.pcx
$(PCX2HGR) loading.pcx > LOADING.HGR
SQUAD.HGR: squad.pcx
$(PCX2HGR) squad.pcx > SQUAD.HGR
TITLE.HGR: title.pcx
$(PCX2HGR) title.pcx > TITLE.HGR
VAB.HGR: vab.pcx
$(PCX2HGR) vab.pcx > VAB.HGR
clean:
rm -f *~ *.HGR