From 44c6c359e72110e4716203115a787f90454ee8c3 Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Thu, 2 Jun 2011 23:38:14 -0700 Subject: Add Makefile for libtinyalsa --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile 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) -- cgit v1.2.3