update copy.sh to use Makefile.simple

This commit is contained in:
still-flow 2020-10-05 22:15:38 +03:00
parent a8691f0d8e
commit c114ea1b1d
1 changed files with 8 additions and 8 deletions

View File

@ -7,12 +7,12 @@ mkdir -p app/src/main/res/raw/
#do cp ../music/hr3-$x.ogg app/src/main/res/raw/$x.ogg
#done
# make sure that language-data.cpp is generated
if [ ! -f ../language-data.cpp ]; then
echo "File language-data.cpp not found! Trying to compile and run langen"
cd ..
g++ langen.cpp -o langen
./langen > language-data.cpp
ls -l langen language-data.cpp
cd hyperroid
# make sure autohdr.h is generated
# language-data.cpp is a make dependency of autohdr.h, so it's generated as well
if [ ! -f ../autohdr.h ]; then
echo "generating autohdr.h..."
pushd ..
make -f Makefile.simple autohdr.h
popd
fi