mirror of
https://github.com/robmcmullen/fujirun.git
synced 2024-06-08 02:29:28 +00:00
Use GNU makefile wildcard rules; haven't figured out pattern rules yet
This commit is contained in:
parent
e6693126a8
commit
f9e82052ba
|
@ -1,58 +1,75 @@
|
||||||
|
TARGETS = INSANECLEAR.BIN FASTEST.BIN SETSCRN.BIN NORMAL.BIN NORMALSMC.BIN FASTCLEAR.BIN NORMALINCFONT.BIN NORMALAL31.BIN SETSCRNSMC.BIN
|
||||||
|
|
||||||
all: INSANECLEAR.BIN FASTEST.BIN SETSCRN.BIN NORMAL.BIN NORMALSMC.BIN FASTCLEAR.BIN NORMALINCFONT.BIN NORMALAL31.BIN
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
kfest.dsk:
|
||||||
|
atrcopy kfest.dsk create dos33.dsk
|
||||||
|
atrcopy kfest.dsk add TEST.BAS
|
||||||
|
atrcopy kfest.dsk add FONT.DAT
|
||||||
|
|
||||||
FASTEST.BIN: driver.s fastfont.s
|
FASTEST.BIN: driver.s fastfont.s
|
||||||
rm -f fastest.xex
|
rm -f $@
|
||||||
cat driver.s fastfont.s > temp.s
|
cat $^ > temp.s
|
||||||
atrcopy . assemble -f -s temp.s -r 0x5000 -o FASTEST.BIN
|
atrcopy . assemble -f -s temp.s -r 0x5000 -o $@
|
||||||
atrcopy kfest.dsk add FASTEST.BIN -f
|
atrcopy kfest.dsk add $@ -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
SETSCRN.BIN: setscrn.s
|
SETSCRN.BIN: setscrn.s
|
||||||
rm -f setscrn.bin
|
rm -f $@
|
||||||
cat setscrn.s > temp.s
|
atrcopy . assemble -f -s $< -r 0x5000 -o $@
|
||||||
atrcopy . assemble -f -s temp.s -r 0x5000 -o SETSCRN.BIN
|
atrcopy kfest.dsk add $@ -f
|
||||||
atrcopy kfest.dsk add SETSCRN.BIN -f
|
rm -f apple2auto.state
|
||||||
|
|
||||||
|
SETSCRNSMC.BIN: setscrnsmc.s
|
||||||
|
rm -f $@
|
||||||
|
atrcopy . assemble -f -s $< -r 0x5000 -o $@
|
||||||
|
atrcopy kfest.dsk add $@ -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
NORMAL.BIN: driver.s normal.s
|
NORMAL.BIN: driver.s normal.s
|
||||||
cat driver.s normal.s > temp.s
|
rm -f $@
|
||||||
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o NORMAL.BIN
|
cat $^ > temp.s
|
||||||
atrcopy kfest.dsk add NORMAL.BIN -f
|
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o $@
|
||||||
|
atrcopy kfest.dsk add $@ -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
NORMALINCFONT.BIN: driver.s normalincfont.s
|
NORMALINCFONT.BIN: driver.s normalincfont.s
|
||||||
cat driver.s normalincfont.s > temp.s
|
rm -f $@
|
||||||
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o NORMALINCFONT.BIN
|
cat $^ > temp.s
|
||||||
atrcopy kfest.dsk add NORMALINCFONT.BIN -f
|
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o $@
|
||||||
|
atrcopy kfest.dsk add $@ -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
NORMALAL31.BIN: driver.s normalal31.s
|
NORMALAL31.BIN: driver.s normalal31.s
|
||||||
cat driver.s normalal31.s > temp.s
|
rm -f $@
|
||||||
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o NORMALAL31.BIN
|
cat $^ > temp.s
|
||||||
atrcopy kfest.dsk add NORMALAL31.BIN -f
|
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o $@
|
||||||
|
atrcopy kfest.dsk add $@ -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
NORMALSMC.BIN: driver.s normalsmc.s
|
NORMALSMC.BIN: driver.s normalsmc.s
|
||||||
cat driver.s normalsmc.s > temp.s
|
rm -f $@
|
||||||
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o NORMALSMC.BIN
|
cat $^ > temp.s
|
||||||
atrcopy kfest.dsk add NORMALSMC.BIN -f
|
atrcopy . assemble -f -d fatfont128.dat@0x6000 -s temp.s -r 0x5000 -o $@
|
||||||
|
atrcopy kfest.dsk add $@ -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
FASTCLEAR.BIN: fastclear.s
|
FASTCLEAR.BIN: fastclear.s
|
||||||
|
rm -f $@
|
||||||
cat fastclear.s > temp.s
|
cat fastclear.s > temp.s
|
||||||
atrcopy . assemble -f -s fastclear.s -r 0x5000 -o FASTCLEAR.BIN
|
atrcopy . assemble -f -s fastclear.s -r 0x5000 -o FASTCLEAR.BIN
|
||||||
atrcopy kfest.dsk add FASTCLEAR.BIN -f
|
atrcopy kfest.dsk add FASTCLEAR.BIN -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
INSANECLEAR.BIN: insaneclear.s
|
INSANECLEAR.BIN: insaneclear.s
|
||||||
|
rm -f $@
|
||||||
cat insaneclear.s > temp.s
|
cat insaneclear.s > temp.s
|
||||||
atrcopy . assemble -f -s insaneclear.s -r 0x4000 -o INSANECLEAR.BIN
|
atrcopy . assemble -f -s insaneclear.s -r 0x4000 -o INSANECLEAR.BIN
|
||||||
atrcopy insaneclear.dsk boot -b INSANECLEAR.BIN --brun 4000 -f
|
atrcopy insaneclear.dsk boot -b INSANECLEAR.BIN --brun 4000 -f
|
||||||
rm -f apple2auto.state
|
rm -f apple2auto.state
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f working.dsk
|
rm -f kfest.dsk insaneclear.dsk $(TARGETS)
|
||||||
|
|
||||||
reallyclean: clean
|
reallyclean: clean
|
||||||
rm -f player-missile.hgr player-missile-2.hgr kansasfest-hackfest.hgr title.hgr
|
rm -f player-missile.hgr player-missile-2.hgr kansasfest-hackfest.hgr title.hgr
|
Loading…
Reference in New Issue
Block a user