mirror of
https://github.com/n64decomp/mk64
synced 2026-06-15 13:51:28 -04:00
e9415164bb
* Lots of audio decomp * effects and playback are 100% matched * Took some notes from the SM64 Makefile to get the right compiler options for a couple files * Added the audio files to rename_symbol utility Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
14 lines
275 B
Bash
Executable File
14 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
|
|
shopt -s globstar
|
|
|
|
if [ "$#" -ne "2" ];
|
|
then
|
|
echo "usage: $0 old_name new_name"
|
|
exit 1
|
|
fi
|
|
|
|
#echo "Replace $1 with $2?"
|
|
#read
|
|
grep -rl "$1" asm/**/*.s data/*.s src/*.c src/audio/*.c src/*.h src/os/*.{c,h} undefined_syms.txt | xargs sed -i "s/\b$1\b/$2/g"
|