Improved dependency tracking and cleaner make output.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1820 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-05-30 02:47:28 +00:00
parent c6741b3502
commit 050b97c308
7 changed files with 243 additions and 198 deletions
-36
View File
@@ -1,37 +1 @@
TARGETS="uqm"
# For the 'uqm' target:
uqm_SUBDIRS=src
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
uqm_CFLAGS="$uqm_CFLAGS -I src -I src/sc2code -I src/sc2code/libs"
if [ "$uqm_HAVE_REGEX" = 0 ]; then
uqm_CFLAGS="$uqm_CFLAGS -I src/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"