diff options
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: |