X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=assman;a=blobdiff_plain;f=Makefile;h=b6e21dbc70b2d367537d4f7d022746083c7c7b38;hp=ab2a248a17850d6ff13c7e4c7401741dd6eab73a;hb=53025831f330bce574a82d7be44ef2c4fcb46b77;hpb=326501355589766ea6f9097824b1850d0beae414 diff --git a/Makefile b/Makefile index ab2a248..b6e21db 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,11 @@ shared = -shared -Wl,-soname,$(soname) warn = -pedantic -Wall dbg = -g opt = -O0 +def = -DBUILD_MOD_URL +pic = -fPIC -CFLAGS = $(warn) $(dbg) $(opt) $(inc) -LDFLAGS = -lcurl +CFLAGS = $(warn) $(dbg) $(opt) $(pic) $(def) $(inc) +LDFLAGS = -lpthread -lcurl .PHONY: all all: $(lib_so) $(lib_a) $(soname) $(devlink)