# $FreeBSD: ports/x11/xnodecor/files/Makefile,v 1.1 2003/09/08 07:08:14 edwin Exp $
CFLAGS=		-I${X11BASE}/include
LDFLAGS=	-L${X11BASE}/lib
LIBS=		-lX11

all:	xnodecor

xnodecor:
	$(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS)

install:
	${BSD_INSTALL_PROGRAM} xnodecor ${X11BASE}/bin

clean:
	rm -f *.rej a.out core xnodecor
