summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2018-11-01 00:38:11 +0000
committerChris Down <chris@chrisdown.name>2018-11-01 00:38:11 +0000
commit36ee24aafb70f5d0aa9216139b929bfbd18a9f92 (patch)
tree70d1f3dbc7f88da844dbe3bf2835bca3534db56b
parenteb156445572bad2eec7ac6f2dd7cd21d2eaaca6e (diff)
downloadclipbuzz-36ee24aafb70f5d0aa9216139b929bfbd18a9f92.tar.gz
Add BSD include/libdirs for X11
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0324d07..09957af 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,4 @@
+x11_bsd_flags = -I/usr/X11R6/include -L/usr/X11R6/lib
+
 all:
-	${CC} ${CFLAGS} ${LDFLAGS} clipnotify.c -o clipnotify -lX11 -lXfixes
+	${CC} ${CFLAGS} ${LDFLAGS} clipnotify.c -o clipnotify $(x11_bsd_flags) -lX11 -lXfixes