Updated mingw directions, and made build process easier

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@536 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
ghaushe
2003-01-08 05:53:47 +00:00
parent 9dacb5c6ee
commit b1c28f2a41
7 changed files with 39 additions and 7 deletions
+5
View File
@@ -74,6 +74,8 @@ LIB_openal_NAME="OpenAL"
LIB_openal_CFLAGS=""
if [ `uname` = 'FreeBSD' ]; then
LIB_openal_LDFLAGS="-L/usr/local/lib -pthread -lopenal"
elif [ `uname | $PROG_sed_FILE s/^MINGW32.*$/MINGW32/` = 'MINGW32' ]; then
LIB_openal_LDFLAGS="-lopenal32"
else
LIB_openal_LDFLAGS="-lopenal"
fi
@@ -84,6 +86,9 @@ LIB_opengl_NAME="OpenGL"
if [ `uname` = 'FreeBSD' ]; then
LIB_opengl_CFLAGS="-I/usr/X11R6/include -D_THREAD_SAFE"
LIB_opengl_LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -pthread -lGL"
elif [ `uname | $PROG_sed_FILE s/^MINGW32.*$/MINGW32/` = 'MINGW32' ]; then
LIB_opengl_CFLAGS=""
LIB_opengl_LDFLAGS="-lopengl32"
else
LIB_opengl_CFLAGS=""
LIB_opengl_LDFLAGS="-lGL"