summaryrefslogtreecommitdiffstats
path: root/src/geos.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2011-05-18 11:43:57 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2011-05-18 11:43:57 (GMT)
commitd14260461aeb428cb51bacbb29bfcaf22f6a05e6 (patch)
tree8cae31e3d1a7efe07714f56b177653c7842aea55 /src/geos.mk
parente1ba498eacee95d78d380be6491959f195e90c86 (diff)
downloadmxe-d14260461aeb428cb51bacbb29bfcaf22f6a05e6.zip
mxe-d14260461aeb428cb51bacbb29bfcaf22f6a05e6.tar.gz
mxe-d14260461aeb428cb51bacbb29bfcaf22f6a05e6.tar.bz2
test program for package geos
Diffstat (limited to 'src/geos.mk')
-rw-r--r--src/geos.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/geos.mk b/src/geos.mk
index 8db362f..d53a0ad 100644
--- a/src/geos.mk
+++ b/src/geos.mk
@@ -26,4 +26,9 @@ define $(PKG)_BUILD
--prefix='$(PREFIX)/$(TARGET)' \
--disable-swig
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-geos.exe' \
+ -lgeos_c `'$(PREFIX)/$(TARGET)/bin/geos-config' --cflags --libs` -lstdc++
endef