summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2019-08-20 14:38:14 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2019-08-20 14:38:14 +0100
commit300c637cf564ae009c55bb21d485d03999611544 (patch)
treea31d6534473b969ba4d31ec3722712382ca8ec68 /src/Makefile
parent7364f311b472055070884320b497cf21efc5aae5 (diff)
src: import alsa_test from p-p-snappy
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 917e6f1..1978732 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,13 +1,15 @@
.PHONY:
-all: clocktest threaded_memtest
+all: alsa_test clocktest threaded_memtest
.PHONY: clean
clean:
- rm -f clocktest threaded_memtest
+ rm -f alsa_test clocktest threaded_memtest
threaded_memtest: CFLAGS += -pthread
threaded_memtest: CFLAGS += -Wno-unused-but-set-variable
clocktest: CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE
clocktest: LDLIBS += -lrt
+alsa_test: CXXFLAGS += -std=c++11
+alsa_test: LDLIBS += -lasound -pthread
CFLAGS += -Wall