X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=assman;a=blobdiff_plain;f=Makefile;fp=Makefile;h=c3abbe70424fbd85c9e182de3153f6ec87d09e1e;hp=ab2a248a17850d6ff13c7e4c7401741dd6eab73a;hb=47f73ee9117686e9d3d0b5bf6c664215dfe1bf8d;hpb=326501355589766ea6f9097824b1850d0beae414 diff --git a/Makefile b/Makefile index ab2a248..c3abbe7 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) -pthread +LDFLAGS = -pthread -lpthread -lcurl .PHONY: all all: $(lib_so) $(lib_a) $(soname) $(devlink)