aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2012-12-03 10:45:26 -0800
committerSimon Wilson <simonwilson@google.com>2012-12-03 11:09:13 -0800
commitf7f35cc62b51ec01cbf3787c8902e79cadbb85df (patch)
tree908dfb175d9940efcc6d431ff5e8911399d18786 /Makefile
parent43544884f44313176621f57b370b4ba114fe5b8c (diff)
Add tinypcminfo utility
This uses the new pcm_params_* API.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6e07b5e..3ba7233 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ OBJECTS = mixer.o pcm.o
LIB = libtinyalsa.so
CROSS_COMPILE =
-all: $(LIB) tinyplay tinycap tinymix
+all: $(LIB) tinyplay tinycap tinymix tinypcminfo
tinyplay: $(LIB) tinyplay.o
$(CROSS_COMPILE)gcc tinyplay.o -L. -ltinyalsa -o tinyplay
@@ -15,6 +15,9 @@ tinycap: $(LIB) tinycap.o
tinymix: $(LIB) tinymix.o
$(CROSS_COMPILE)gcc tinymix.o -L. -ltinyalsa -o tinymix
+tinypcminfo: $(LIB) tinypcminfo.o
+ $(CROSS_COMPILE)gcc tinypcminfo.o -L. -ltinyalsa -o tinypcminfo
+
$(LIB): $(OBJECTS)
$(CROSS_COMPILE)gcc -shared $(OBJECTS) -o $(LIB)