summaryrefslogtreecommitdiff
path: root/x11/tools/pswrap/Makefile.pswrap
blob: 730db800c1287d2067e81e614b60ba82c5d9f77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$NetBSD: Makefile.pswrap,v 1.2 2003/11/08 13:57:30 lukem Exp $

.SUFFIXES: .psw .c .h

PSWRAPDIR!=	cd ${NETBSDSRCDIR}/x11/tools/pswrap && ${PRINTOBJDIR}
PSWRAP=		${PSWRAPDIR}/pswrap

${PSWRAP}:
	(cd ${NETBSDSRCDIR}/x11/tools/pswrap && ${MAKE})

.psw.c: ${PSWRAP}
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${PSWRAP} -a -o ${.TARGET} ${.IMPSRC}

.psw.h: ${PSWRAP}
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null