summaryrefslogtreecommitdiffstats
path: root/src/smpeg.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-10-10 11:46:35 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-10-10 11:46:35 (GMT)
commit7c3b5bd675845eedec98d25bce99ad16fa1b3dd7 (patch)
treeeede680033ef664259a6bc0ae3ba62a0a2e15f9e /src/smpeg.mk
parent542b153ca9b7a863985ae5fded7e87dd6f5d1368 (diff)
downloadmxe-7c3b5bd675845eedec98d25bce99ad16fa1b3dd7.zip
mxe-7c3b5bd675845eedec98d25bce99ad16fa1b3dd7.tar.gz
mxe-7c3b5bd675845eedec98d25bce99ad16fa1b3dd7.tar.bz2
add test program for package smpeg
Diffstat (limited to 'src/smpeg.mk')
-rw-r--r--src/smpeg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smpeg.mk b/src/smpeg.mk
index d417205..e52db17 100644
--- a/src/smpeg.mk
+++ b/src/smpeg.mk
@@ -33,4 +33,9 @@ define $(PKG)_BUILD
--disable-opengl-player \
CFLAGS='-ffriend-injection'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -std=c99 -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-smpeg.exe' \
+ `'$(PREFIX)/$(TARGET)/bin/smpeg-config' --cflags --libs`
endef