summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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