r1364 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jun 4 01:28:54 EDT 2008


Author: icculus
Date: 2008-06-04 01:28:54 -0400 (Wed, 04 Jun 2008)
New Revision: 1364

Modified:
   trunk/Makefile
Log:
Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.

Otherwise, cross-compiling doesn't work.


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2008-06-03 06:06:17 UTC (rev 1363)
+++ trunk/Makefile	2008-06-04 05:28:54 UTC (rev 1364)
@@ -296,6 +296,10 @@
     CLIENT_LDFLAGS += -lrt
   endif
 
+ifeq ($(USE_LOCAL_HEADERS),1)
+    BASE_CFLAGS += -I$(SDLHDIR)/include
+  endif
+
   ifeq ($(ARCH),i386)
     # linux32 make ...
     BASE_CFLAGS += -m32




More information about the quake3-commits mailing list