diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-03-15 23:51:30 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-03-15 23:51:30 +0100 |
commit | 268d1968ea951b3eb2d1411a9e0d7c0fcb23217b (patch) | |
tree | 1085fbf3a8f5c330e632eff58034ae8678ce2144 | |
parent | ceda5d69ac1c644bde0271012b90ea8bd02e69fb (diff) |
fix include and lib paths for the BSDs
-rw-r--r-- | config.mk | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -11,8 +11,13 @@ X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # includes and libs -INCS = -I. -I/usr/{,local/}include -I/usr/{,local/}include/freetype2 -I${X11INC} -LIBS = -L/usr/{,local/}lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 +INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC} +LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 +# OpenBSD (uncomment) +#INCS = -I. -I${X11INC} -I${X11INC}/freetype2 +# FreeBSD (uncomment) +#INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC} +#LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 |