summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2d84ba7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+# $OpenBSD$
+
+.include <bsd.own.mk>
+
+X11BASE?=	/usr/X11R6
+
+PROG=		cwm
+
+SRCS=		calmwm.c draw.c screen.c xmalloc.c client.c grab.c search.c \
+		util.c xutil.c conf.c input.c xevents.c group.c geographic.c \
+		kbfunc.c cursor.c font.c
+
+CPPFLAGS+=	-I${X11BASE}/include -I${X11BASE}/include/freetype2
+
+LDADD+=		-L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp \
+		-lfontconfig -lexpat -lfreetype -lz -lX11 -lXau -lXdmcp -lXext
+
+MANDIR=		${X11BASE}/man/cat
+
+CLEANFILES=	cwm.cat1
+
+obj: _xenocara_obj
+
+.include <bsd.prog.mk>
+.include <bsd.xorg.mk>