summaryrefslogtreecommitdiffstats
path: root/src/aubio.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-11-17 03:24:55 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-11-17 03:25:19 (GMT)
commit1b8a5ea6f2f982c5ab3845979e66a58ccd7ef1f0 (patch)
tree1a9fdcdb3f5dd77a027f88f77707d146deec0f7f /src/aubio.mk
parentb11f0863f58008fd11ab7d69df960e9f2838e530 (diff)
downloadmxe-1b8a5ea6f2f982c5ab3845979e66a58ccd7ef1f0.zip
mxe-1b8a5ea6f2f982c5ab3845979e66a58ccd7ef1f0.tar.gz
mxe-1b8a5ea6f2f982c5ab3845979e66a58ccd7ef1f0.tar.bz2
aubio: Add a test program
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
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