diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2011-05-18 11:43:57 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2011-05-18 11:43:57 (GMT) |
commit | d14260461aeb428cb51bacbb29bfcaf22f6a05e6 (patch) | |
tree | 8cae31e3d1a7efe07714f56b177653c7842aea55 /src/geos.mk | |
parent | e1ba498eacee95d78d380be6491959f195e90c86 (diff) | |
download | mxe-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.mk | 5 |
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 |