diff options
author | Simon Wilson <simonwilson@google.com> | 2011-06-03 18:27:08 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2011-06-03 18:28:26 -0700 |
commit | 98be0055ff47332102cf7b9fc35b962e3b69a22a (patch) | |
tree | f0afe4e510db0cf36c0d9691fa84b14769ce163c /Makefile | |
parent | a0ef465b3140a827b149146cd51c9489859db33d (diff) |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |