aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 4d5e39a6735f281b2e6afee76615471dc5a37cc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $OpenBSD: Makefile,v 1.5 2008/03/23 15:09:21 simon Exp $

.include <bsd.own.mk>

X11BASE?=	/usr/X11R6

PROG=		cwm

SRCS=		calmwm.c screen.c xmalloc.c client.c grab.c search.c \
		util.c xutil.c conf.c input.c xevents.c group.c \
		kbfunc.c font.c parse.y

CPPFLAGS+=	-I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR}

LDADD+=		-L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp \
		-lfontconfig -lexpat -lfreetype -lz -lX11 -lXau -lXdmcp -lXext

MANDIR=		${X11BASE}/man/cat
MAN=		cwm.1 cwmrc.5

CLEANFILES=	cwm.cat1 cwmrc.cat5

obj: _xenocara_obj

.include <bsd.prog.mk>
.include <bsd.xorg.mk>