diff options
author | Simon Wilson <ksattic@gmail.com> | 2011-06-02 23:38:14 -0700 |
---|---|---|
committer | Simon Wilson <ksattic@gmail.com> | 2011-06-02 23:38:14 -0700 |
commit | 44c6c359e72110e4716203115a787f90454ee8c3 (patch) | |
tree | 8942c517b999c15f9717d1147254311f3ff80974 | |
parent | 1bd580fcba8f8dc4587d5d8c42edd85857b11b65 (diff) |
Add Makefile for libtinyalsa
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..589ff4c --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CFLAGS = -c -fPIC +INC = include +OBJECTS = mixer.o pcm.o +LIB = libtinyalsa.so + +libtinyalsa.so: $(OBJECTS) + gcc -shared $(OBJECTS) -o $(LIB) + +.c.o: + gcc $(CFLAGS) $< -I$(INC) + +clean: + rm $(LIB) $(OBJECTS) |