From: divverent Date: Thu, 22 Oct 2009 09:02:17 +0000 (+0000) Subject: makefile: new flag DP_ODE_DYNAMIC X-Git-Tag: xonotic-v0.1.0preview~1255 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6309ef89ca851837c91d9aec4bb7786a70a84117;p=xonotic%2Fdarkplaces.git makefile: new flag DP_ODE_DYNAMIC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9383 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.inc b/makefile.inc index 1269e1dc..250f2e3e 100644 --- a/makefile.inc +++ b/makefile.inc @@ -25,7 +25,7 @@ CPUOPTIMIZATIONS?= # Additional stuff for libode LIB_ODE=`[ -n "$(DP_ODE_STATIC_LIBDIR)" ] && echo \ $(DP_ODE_STATIC_LIBDIR)/libode.a\ -lstdc++` -CFLAGS_ODE=`[ -n "$(DP_ODE_STATIC_LIBDIR)" ] && echo \ -I$(DP_ODE_STATIC_LIBDIR)/../include\ -DODE_STATIC` +CFLAGS_ODE=`[ -n "$(DP_ODE_STATIC_LIBDIR)" ] && echo \ -I$(DP_ODE_STATIC_LIBDIR)/../include\ -DODE_STATIC || [ -n "$(DP_ODE_DYNAMIC)" ] && echo \ -DODE_DYNAMIC` SDL_CONFIG?=sdl-config