mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-29 22:29:51 +00:00
makefile sync
This commit is contained in:
parent
0a95733c42
commit
471d3e3094
6
Makefile
6
Makefile
@ -34,9 +34,9 @@ dsk: asm
|
||||
bin/buildhelp.sh "build/HELPFUL" "build/helper.inc" >>build/log
|
||||
$(ACME) -r build/helper.lst src/helper/helper.a >>build/log
|
||||
bin/buildokvs.sh "res/ATTRACT.CONF" "build/ATTRACT.DATA" >>build/log
|
||||
bin/buildokvs.sh "res/FX.CONF" "build/FX.DATA" >>build/log
|
||||
bin/buildokvs.sh "res/DFX.CONF" "build/DFX.DATA" >>build/log
|
||||
for f in res/TITLE res/COVER res/HELP res/GAMES.CONF build/ATTRACT.DATA build/FX.DATA build/DFX.DATA build/PREFS.CONF res/CREDITS res/HELPTEXT build/HELPER build/HELPFUL res/DECRUNCH res/JOYSTICK res/Finder.Data res/Finder.Root; do $(CADIUS) ADDFILE build/"$(DISK)" "/$(VOLUME)/" "$$f" >>build/log; done
|
||||
bin/buildfx.sh "res/FX.CONF" "build/FX.DATA" "build/FXFUL" >>build/log
|
||||
bin/buildfx.sh "res/DFX.CONF" "build/DFX.DATA" "build/DFXFUL" >>build/log
|
||||
for f in res/TITLE res/COVER res/HELP res/GAMES.CONF build/ATTRACT.DATA build/FX.DATA build/FXFUL build/DFX.DATA build/DFXFUL build/PREFS.CONF res/CREDITS res/HELPTEXT build/HELPER build/HELPFUL res/DECRUNCH res/JOYSTICK res/Finder.Data res/Finder.Root; do $(CADIUS) ADDFILE build/"$(DISK)" "/$(VOLUME)/" "$$f" >>build/log; done
|
||||
bin/buildfileinfo.sh res/TITLE.HGR "06" "4000" >>build/log
|
||||
bin/buildfileinfo.sh res/TITLE.DHGR "06" "4000" >>build/log
|
||||
bin/buildfileinfo.sh res/ACTION.HGR "06" "3FF8" >>build/log
|
||||
|
18
bin/buildfx.sh
Executable file
18
bin/buildfx.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
:>| "$3"
|
||||
records=$(mktemp)
|
||||
grep -v "^$" < "$1" | grep -v "^#" | grep -v "^\[" > "$records"
|
||||
source=$(mktemp)
|
||||
(echo "*=0"
|
||||
echo "!le16 $(wc -l <"$records"), 0"
|
||||
while read -r key; do
|
||||
echo "!byte ${#key}+5"
|
||||
echo "!byte ${#key}"
|
||||
echo "!text \"$key\""
|
||||
echo "!be24 $(wc -c <"$3")"
|
||||
cat "build/FX/$key" >> "$3"
|
||||
done < "$records") > "$source"
|
||||
acme -o "$2" "$source"
|
||||
rm "$source"
|
||||
rm "$records"
|
@ -2,6 +2,7 @@
|
||||
|
||||
# run from project root directory
|
||||
|
||||
:>| "$1"
|
||||
games=$(grep "," res/GAMES.CONF | grep -v "^#" | cut -d"," -f2 | cut -d"=" -f1 | sort)
|
||||
cp res/GAMEHELP/STANDARD "$1"
|
||||
for c in {A..Z}; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user