aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index a328a54..807d4c8 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -5,10 +5,17 @@ CFLAGS = -Wall -Wextra -Werror -Wfatal-errors -I ../include
VPATH = ../src
+EXAMPLES += pcm-readi
+EXAMPLES += pcm-writei
+
.PHONY: all
-all: pcm-readi pcm-writei
+all: $(EXAMPLES)
pcm-readi: pcm-readi.c -ltinyalsa
pcm-writei: pcm-writei.c -ltinyalsa
+.PHONY: clean
+clean:
+ rm -f $(EXAMPLES)
+