From 98be0055ff47332102cf7b9fc35b962e3b69a22a Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Fri, 3 Jun 2011 18:27:08 -0700 Subject: Fix issues with tinyplay - Add to Android.mk - Add "all" rule to Makefile - Remove redundant old play code from tinyplay.c - Add error checking to tinyplay --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index aa1310b..ac40b6b 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,12 @@ INC = include OBJECTS = mixer.o pcm.o LIB = libtinyalsa.so +all: $(LIB) tinyplay + tinyplay: $(LIB) tinyplay.o gcc tinyplay.o -L. -ltinyalsa -o tinyplay -libtinyalsa.so: $(OBJECTS) +$(LIB): $(OBJECTS) gcc -shared $(OBJECTS) -o $(LIB) .c.o: -- cgit v1.2.3