Files
cobm/sc2/Makeproject
Meep-Eep fc18eebd15 Add C++ support to the build system, from Scott A. Colcord.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3747 8092fc87-c524-0410-9efc-e669fe64eaf9
2012-01-15 20:01:20 +00:00

47 lines
1.3 KiB
Plaintext

TARGETS="uqm"
# For the 'uqm' target:
if [ "$DEBUG" = "1" ]; then
uqm_OBJS=obj/debug/ # Directory for object files
uqm_NAME=uqm-debug # File name of executable
else
uqm_OBJS=obj/release/ # Directory for object files
uqm_NAME=uqm # File name of executable
fi
case "$HOST_SYSTEM" in
ARMV5|WINSCW|GCCE)
uqm_NAME="uqm.lib"
;;
MINGW32*|CYGWIN*)
uqm_NAME="$uqm_NAME.exe"
;;
esac
uqm_CFLAGS="$uqm_CFLAGS -Isrc"
uqm_CXXFLAGS="$uqm_CXXFLAGS -Isrc"
if [ "$uqm_HAVE_REGEX" = 0 ]; then
uqm_CFLAGS="$uqm_CFLAGS -Isrc/regex"
uqm_CXXFLAGS="$uqm_CXXFLAGS -Isrc/regex"
fi
# Stuff to install under the directory for libraries, as specified during
# config.
uqm_INSTALL_LIBS="executable"
uqm_INSTALL_LIB_executable_SRC="$BUILD_WORK/$uqm_NAME"
uqm_INSTALL_LIB_executable_DEST=uqm/uqm
uqm_INSTALL_LIB_executable_MODE="0755"
# Stuff to install under the directory for system-independant data, as
# specified during config.
uqm_INSTALL_SHARED="content"
uqm_INSTALL_SHARED_content_SRC=content
uqm_INSTALL_SHARED_content_DEST=uqm/
uqm_INSTALL_SHARED_content_MODE="go+rX"
# Stuff to install under the directory for binaries, as specified during
# config.
uqm_INSTALL_BINS=wrapper
uqm_INSTALL_BIN_wrapper_SRC="$BUILD_WORK/uqm-wrapper"
uqm_INSTALL_BIN_wrapper_DEST="uqm"
uqm_INSTALL_BIN_wrapper_MODE="0755"