summaryrefslogtreecommitdiffstats
path: root/src/smpeg.mk
diff options
context:
space:
mode:
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