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 | 3c9456dd45f38386b3357dee2fc93924bdd46696 (patch) | |
tree | d80479fbf61384ebe9e039f86a4290aefd69ff45 /Makefile | |
parent | b45eee31570afd2045d199dd18a154c42952ad56 (diff) | |
download | openttd-3c9456dd45f38386b3357dee2fc93924bdd46696.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 |