From 300c637cf564ae009c55bb21d485d03999611544 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 20 Aug 2019 14:38:14 +0100 Subject: src: import alsa_test from p-p-snappy --- src/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3