aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Wilson <ksattic@gmail.com>2011-06-04 00:57:17 -0700
committerSimon Wilson <ksattic@gmail.com>2011-06-04 00:57:17 -0700
commitd2cb5030091760256fcc8e755e686aab746b7697 (patch)
treeff947eba8d70c759185150907d2e77829ad4bcdc /Makefile
parent98be0055ff47332102cf7b9fc35b962e3b69a22a (diff)
Improve mixer support
- support get/set of multiple values - add parameter checking to functions - add api function to get control type - add tinymix utility to list mixer controls
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)