about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbernd <bernd>2007-04-27 18:01:38 +0000
committerbernd <bernd>2007-04-27 18:01:38 +0000
commitd957b53c6f55b3db8d3afc2544c15c0253f96251 (patch)
tree5c8407ae3226214de126fee5597d0ba1f2bd2c0e
parent3d12c94f42f91e957fa8a68efcd3b0387791e6cf (diff)
downloadcwm-d957b53c6f55b3db8d3afc2544c15c0253f96251.tar.gz
cwm-d957b53c6f55b3db8d3afc2544c15c0253f96251.tar.xz
cwm-d957b53c6f55b3db8d3afc2544c15c0253f96251.zip
Simple Makefile to build cwm.
-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>