diff options
author | Bill Cox <waywardgeek@@gmail.com> | 2011-10-25 08:23:42 -0400 |
---|---|---|
committer | Bill Cox <waywardgeek@@gmail.com> | 2011-10-25 08:23:42 -0400 |
commit | 524a0ac35590a0cd552e77e91e84f3c3fb0dd3fc (patch) | |
tree | 4f894eba0f173b8f3cf6860c82cc26d300f8f98b | |
parent | 0b643e2b34b0363b940012258c329ed397dff39d (diff) | |
download | sonic-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |