NetBSD/x11/tools/pswrap/Makefile.pswrap

20 lines
471 B
Makefile
Raw Normal View History

# $NetBSD: Makefile.pswrap,v 1.4 2005/03/20 23:49:06 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}
2003-11-08 16:57:29 +03:00
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${PSWRAP} -a -o ${.TARGET} -f ${.TARGET:.c=.h} ${.IMPSRC}
.psw.h: ${PSWRAP}
2003-11-08 16:57:29 +03:00
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null