1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

Eliminate autotools/automake/configure.

This commit is contained in:
Arthur O'Dwyer
2021-03-10 17:06:44 -05:00
parent 5ade959c02
commit 77cc0cc01b
10 changed files with 6 additions and 550 deletions

View File

@@ -2,7 +2,6 @@ set -x -e o pipefail
GH_MYMAKE_ARGS="-fPIC"
GH_AUTOTOOLS_CXXFLAGS="-W -Wall -Wextra -Wno-unused-parameter -Wno-maybe-uninitialized"
HYPERROGUE_USE_GLEW=$GH_HYP_GLEW
export HYPERROGUE_USE_GLEW=${HYPERROGUE_USE_GLEW: -1}
@@ -14,7 +13,6 @@ HYPERROGUE_USE_ROGUEVIZ=$GH_HYP_RVIZ
export HYPERROGUE_USE_ROGUEVIZ=${HYPERROGUE_USE_ROGUEVIZ: -1}
if [[ "$GH_HYP_RVIZ" == "rviz_1" ]]; then
GH_MYMAKE_ARGS+=" -std=c++17 -rv"
GH_AUTOTOOLS_CXXFLAGS+=" -std=c++17 -DCAP_ROGUEVIZ=1"
fi
export CC=$GH_COMPILER
@@ -22,10 +20,6 @@ export CXX=${CC%cc}++
if [[ "$GH_BUILDSYS" == "makefile" ]]; then
make -f Makefile.simple
elif [[ "$GH_BUILDSYS" == "autotools" ]]; then
autoreconf -vfi
./configure CXXFLAGS="${GH_AUTOTOOLS_CXXFLAGS}"
make
elif [[ "$GH_BUILDSYS" == "mymake" ]]; then
make -f Makefile.simple mymake
./mymake $GH_MYMAKE_ARGS