summaryrefslogtreecommitdiffstats
path: root/src/aubio.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/aubio.mk')
-rw-r--r--src/aubio.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/aubio.mk b/src/aubio.mk
index 593c5d1..f5fb46a 100644
--- a/src/aubio.mk
+++ b/src/aubio.mk
@@ -34,4 +34,8 @@ define $(PKG)_BUILD
$(if $(BUILD_SHARED), \
mv '$(PREFIX)/$(TARGET)/lib/libaubio-4.dll' '$(PREFIX)/$(TARGET)/bin')
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-aubio.exe' \
+ `'$(TARGET)-pkg-config' aubio --cflags --libs`
endef