summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
authorPMR <pmr@pmr-lander>2019-09-21 10:39:34 +0200
committerPMR <pmr@pmr-lander>2019-09-21 10:39:34 +0200
commiteb7c89ab81a6841ac9118a2569fb1071cead9f32 (patch)
tree968e0688b5a184d8ed89f82f4459fa0bb66fbcee /src/Makefile
parentca5a917f7304e173247025bfd8c43b1236473b29 (diff)
parent98ccaa543c57fd4d8c46130f84db395a8422ca9e (diff)
Merge branch 'master' into release
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