diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ ### why the fuck is this here? LDFLAGS=-lhashtable -Llibhashtable -CFLAGS=-fpic -shared -pedantic -Wall -g3 +CFLAGS=-pedantic -Wall -g3 PREFIX:=/usr/local TARGET=libhashtable.so @@ -10,6 +10,7 @@ all: $(TARGET) libhashtable.h: ./genheader.sh +$(TARGET): CFLAGS+=-fpic -shared $(TARGET): libhashtable.o ld -shared -o $(TARGET) libhashtable.o |