support FreeBSD

On FreeBSD the lib and include directories are in /usr/local rather than /usr.
This commit is contained in:
Markus Teich 2016-03-15 20:21:54 +01:00
parent c61e9a4b8a
commit ceda5d69ac

View File

@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib X11LIB = /usr/X11R6/lib
# includes and libs # includes and libs
INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC} INCS = -I. -I/usr/{,local/}include -I/usr/{,local/}include/freetype2 -I${X11INC}
LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 LIBS = -L/usr/{,local/}lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
# flags # flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600