aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2013d59..63cbea4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,14 @@ INC = include
OBJECTS = mixer.o pcm.o
LIB = libtinyalsa.so
-all: $(LIB) tinyplay tinymix
+all: $(LIB) tinyplay tinycap tinymix
tinyplay: $(LIB) tinyplay.o
gcc tinyplay.o -L. -ltinyalsa -o tinyplay
+tinycap: $(LIB) tinycap.o
+ gcc tinycap.o -L. -ltinyalsa -o tinycap
+
tinymix: $(LIB) tinymix.o
gcc tinymix.o -L. -ltinyalsa -o tinymix
@@ -18,4 +21,5 @@ $(LIB): $(OBJECTS)
gcc $(CFLAGS) $< -I$(INC)
clean:
- rm $(LIB) $(OBJECTS) tinyplay.o tinyplay
+ rm $(LIB) $(OBJECTS) tinyplay.o tinyplay tinycap.o tinycap \
+ tinymix.o tinymix