]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
-Added a more descriptive comment for prvm_edict_t::p
[xonotic/darkplaces.git] / makefile
index 87de6620beae8137ef5adcea39760e0bacbc8604..bba5e017dda16eb916bc8d74cb463ee51bec71ce 100644 (file)
--- a/makefile
+++ b/makefile
@@ -28,6 +28,14 @@ else
 endif
 
 
+DP_MACHINE:=$(shell uname -m)
+ifeq ($(DP_MACHINE),x86_64)
+       UNIX_X11LIBPATH:=-L/usr/X11R6/lib64
+else
+       UNIX_X11LIBPATH:=-L/usr/X11R6/lib
+endif
+
+
 # Linux configuration
 ifeq ($(DP_MAKE_TARGET), linux)
        OBJ_SOUND=$(OBJ_LINUXSOUND)