aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbernd2007-04-27 18:01:38 +0000
committerbernd2007-04-27 18:01:38 +0000
commit45db842dd9a154c8159b45e52a29c882a2b8ea1c (patch)
tree9d17b01e149ad6f8426afd61739a1f46968969f8
parent055eec93ac495df814cc5585fd55712a6cac06c4 (diff)
downloadcwm-45db842dd9a154c8159b45e52a29c882a2b8ea1c.tar.gz
Simple Makefile to build cwm.
Diffstat (limited to '')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ccb471b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+# $OpenBSD: Makefile,v 1.1 2007/04/27 18:01:38 bernd Exp $
+
+.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>