aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Cox <waywardgeek@@gmail.com>2011-10-25 08:23:42 -0400
committerBill Cox <waywardgeek@@gmail.com>2011-10-25 08:23:42 -0400
commit524a0ac35590a0cd552e77e91e84f3c3fb0dd3fc (patch)
tree4f894eba0f173b8f3cf6860c82cc26d300f8f98b
parent0b643e2b34b0363b940012258c329ed397dff39d (diff)
downloadsonic-524a0ac35590a0cd552e77e91e84f3c3fb0dd3fc.tar.gz
Added LIBDIR variable from Luke's patch and moved libsonic.so to the end of the command to build sonic. For some reason, the order now matters in Oneiric.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c10485..5b3f719 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,12 @@ CFLAGS=-Wall -g -ansi -fPIC -pthread
LIB_TAG=0.1.18
CC=gcc
PREFIX=/usr
+LIBDIR=$(PREFIX)/lib
all: sonic libsonic.so.$(LIB_TAG) libsonic.a
sonic: wave.o main.o libsonic.so.$(LIB_TAG)
- $(CC) $(CFLAGS) libsonic.so.$(LIB_TAG) -o sonic wave.o main.o
+ $(CC) $(CFLAGS) -o sonic wave.o main.o libsonic.so.$(LIB_TAG)
sonic.o: sonic.c sonic.h
$(CC) $(CFLAGS) -c sonic.c