summaryrefslogtreecommitdiffstats
path: root/src/mxml.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-11-26 23:33:03 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-11-26 23:33:03 (GMT)
commit8469492843e5c4acec9652eab7eaf7aa9fe076c8 (patch)
treee72b037a93cba3606260751cff81b59f2f95343d /src/mxml.mk
parent8053624005ca6a9b8d7748a3196688cee5ab7c5d (diff)
downloadmxe-8469492843e5c4acec9652eab7eaf7aa9fe076c8.zip
mxe-8469492843e5c4acec9652eab7eaf7aa9fe076c8.tar.gz
mxe-8469492843e5c4acec9652eab7eaf7aa9fe076c8.tar.bz2
simple test program for package mxml
Diffstat (limited to 'src/mxml.mk')
-rw-r--r--src/mxml.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mxml.mk b/src/mxml.mk
index 26ae171..2acb3b0 100644
--- a/src/mxml.mk
+++ b/src/mxml.mk
@@ -30,4 +30,9 @@ define $(PKG)_BUILD
$(INSTALL) -m644 '$(1)/mxml.h' '$(PREFIX)/$(TARGET)/include/'
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig'
$(INSTALL) -m644 '$(1)/mxml.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/'
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-mxml.exe' \
+ `'$(TARGET)-pkg-config' mxml --cflags --libs`
endef