diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-14 10:51:26 -0800 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-14 10:51:26 -0800 |
commit | 30f7ec55df2a68eba7e10f6314ad7c5cc50ae4f8 (patch) | |
tree | abbbb0782a5d0875c48e1c98134406a88195d2c0 /examples/Makefile | |
parent | 1482988aefc7ccd108adf1fcd90f6a7d28218afe (diff) |
added clean target
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 9 |
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) + |