X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=lib%2FMakefile;h=e6b26dd2dadc5c179e0a84056b8e4e05d0fe7722;hb=50549aa1ce477c30031aeed2580f9cd71d40881e;hp=14424600cc02659c19690c064db8ecf34f05c90d;hpb=de776ba84d1033716a58b79828cab79390165f0a;p=spectrwm.git diff --git a/lib/Makefile b/lib/Makefile index 1442460..e6b26dd 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,6 +2,8 @@ .include +PREFIX?=/usr/local + LIB= swmhack NOMAN= yes SRCS= swm_hack.c @@ -10,7 +12,7 @@ LIBDIR= ${X11BASE}/lib DEBUGLIBS= no NOPROFILE= yes -CFLAGS+=-Wall -Wno-uninitialized -ggdb3 +CFLAGS+=-Wall -Wno-uninitialized -ggdb3 -fPIC CFLAGS+= -I${X11BASE}/include install: