common.mk: fully parameterize scramble rule
This commit is contained in:
parent
c2e596a1c0
commit
5a32d6816b
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ scramble
|
|||||||
cdi4dc
|
cdi4dc
|
||||||
tools/ttf_outline
|
tools/ttf_outline
|
||||||
*.blend1
|
*.blend1
|
||||||
|
*.scramble
|
16
common.mk
16
common.mk
@ -102,10 +102,10 @@ audio.pcm:
|
|||||||
synth 1 sin 440 vol -10dB
|
synth 1 sin 440 vol -10dB
|
||||||
mv $@.raw $@
|
mv $@.raw $@
|
||||||
|
|
||||||
1ST_READ.BIN: example/dump_object_list.bin
|
%.scramble: %.bin
|
||||||
./scramble $< $@
|
./scramble $< $@
|
||||||
|
|
||||||
%.iso: 1ST_READ.BIN ip.bin
|
%.iso: %.scramble ip.bin
|
||||||
mkisofs \
|
mkisofs \
|
||||||
-C 0,11702 \
|
-C 0,11702 \
|
||||||
-sysid "SEGA SEGAKATANA" \
|
-sysid "SEGA SEGAKATANA" \
|
||||||
@ -116,11 +116,10 @@ audio.pcm:
|
|||||||
-copyright "COPYRIGH.TXT" \
|
-copyright "COPYRIGH.TXT" \
|
||||||
-abstract "ABSTRACT.TXT" \
|
-abstract "ABSTRACT.TXT" \
|
||||||
-biblio "BIBLIOGR.TXT" \
|
-biblio "BIBLIOGR.TXT" \
|
||||||
-sectype data \
|
|
||||||
-G ip.bin \
|
-G ip.bin \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
-graft-points \
|
-graft-points \
|
||||||
/=./1ST_READ.BIN \
|
/1ST_READ.BIN=./$< \
|
||||||
/=./COPYRIGH.TXT \
|
/=./COPYRIGH.TXT \
|
||||||
/=./ABSTRACT.TXT \
|
/=./ABSTRACT.TXT \
|
||||||
/=./BIBLIOGR.TXT
|
/=./BIBLIOGR.TXT
|
||||||
@ -161,18 +160,11 @@ sh7091/sh7091.hpp: regs/sh7091.csv regs/gen/sh7091.py
|
|||||||
sh7091/sh7091_bits.hpp: regs/sh7091_bits.csv regs/gen/core_bits.py
|
sh7091/sh7091_bits.hpp: regs/sh7091_bits.csv regs/gen/core_bits.py
|
||||||
python regs/gen/core_bits.py $< > $@
|
python regs/gen/core_bits.py $< > $@
|
||||||
|
|
||||||
systembus.hpp: regs/systembus.csv regs/gen/systembus.py
|
|
||||||
python regs/gen/systembus.py $< > $@
|
|
||||||
|
|
||||||
gdrom.hpp: regs/gdrom.csv regs/gen/gdrom.py
|
|
||||||
python regs/gen/gdrom.py $< > $@
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find -P \
|
find -P \
|
||||||
-regextype posix-egrep \
|
-regextype posix-egrep \
|
||||||
-regex '.*\.(iso|o|d|bin|elf|cue|gch)$$' \
|
-regex '.*\.(iso|o|d|bin|elf|cue|gch|scramble)$$' \
|
||||||
-exec rm {} \;
|
-exec rm {} \;
|
||||||
rm -f 1ST_READ.BIN
|
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.INTERMEDIATE:
|
.INTERMEDIATE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user