From a0ef465b3140a827b149146cd51c9489859db33d Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Thu, 2 Jun 2011 23:40:00 -0700 Subject: Add tinyplay utility to play PCM riff/wave files --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 589ff4c..aa1310b 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ INC = include OBJECTS = mixer.o pcm.o LIB = libtinyalsa.so +tinyplay: $(LIB) tinyplay.o + gcc tinyplay.o -L. -ltinyalsa -o tinyplay + libtinyalsa.so: $(OBJECTS) gcc -shared $(OBJECTS) -o $(LIB) @@ -10,4 +13,4 @@ libtinyalsa.so: $(OBJECTS) gcc $(CFLAGS) $< -I$(INC) clean: - rm $(LIB) $(OBJECTS) + rm $(LIB) $(OBJECTS) tinyplay.o tinyplay -- cgit v1.2.3