1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-15 01:39:57 +00:00

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

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