aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac40b6b..2013d59 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,14 @@ INC = include
OBJECTS = mixer.o pcm.o
LIB = libtinyalsa.so
-all: $(LIB) tinyplay
+all: $(LIB) tinyplay tinymix
tinyplay: $(LIB) tinyplay.o
gcc tinyplay.o -L. -ltinyalsa -o tinyplay
+tinymix: $(LIB) tinymix.o
+ gcc tinymix.o -L. -ltinyalsa -o tinymix
+
$(LIB): $(OBJECTS)
gcc -shared $(OBJECTS) -o $(LIB)