Skip to content

Commit

Permalink
Adding 'shared' target to create libmurmur.so.
Browse files Browse the repository at this point in the history
  • Loading branch information
macklin committed May 2, 2015
1 parent a082b87 commit bdb84db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion makefile
Expand Up @@ -8,5 +8,9 @@ tests: test.o murmur3.o
$(CC) $^ -o $@
./tests

shared: murmur3.c murmur3.h
$(CC) -fPIC -O3 -c murmur3.c
$(CC) -shared -Wl,--export-dynamic murmur3.o -o libmurmur3.so

clean:
rm -rf example *.o
rm -rf example *.o *.so

0 comments on commit bdb84db

Please sign in to comment.