diff options
author | truelight <truelight@openttd.org> | 2005-07-10 14:57:43 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-07-10 14:57:43 +0000 |
commit | 48b3b8699d7db88ae9307e319535c8ec5b236824 (patch) | |
tree | d80479fbf61384ebe9e039f86a4290aefd69ff45 /Makefile | |
parent | 84faec4c4341a2310d9e97bc75170231ba5b1d43 (diff) | |
download | openttd-48b3b8699d7db88ae9307e319535c8ec5b236824.tar.xz |
(svn r2542) -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/)
support to OpenTTD in preperation of AIScripts (long term). It is OFF
by default. Add GPMI:=1 to Makefile.config to enable.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -386,6 +386,15 @@ endif CFLAGS += $(BASECFLAGS) +# See if we want to enable GPMI +ifdef GPMI +CFLAGS += -DGPMI +GPMI_STATIC_PATH = `gpmi-config --static` +LDFLAGS += -rdynamic `gpmi-config --libs` +# Static link paths into the game +LDFLAGS += $(GPMI_STATIC_PATH)/paths-static.o +endif + ifdef UNIX CDEFS += -DUNIX endif |