Add the .c and .h files generated from *.psw to DPSRCS.

Add -I. to CPPFLAGS.

This should fix a build problem highlighted by rtr@ in private mail.
This commit is contained in:
lukem 2004-07-13 16:15:28 +00:00
parent ae3298c83a
commit 730b098c45

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2003/11/08 13:57:29 lukem Exp $
# $NetBSD: Makefile,v 1.5 2004/07/13 16:15:28 lukem Exp $
.include <bsd.own.mk>
@ -32,8 +32,11 @@ PSOPSHEADERFILES= \
PSOPSCFILES= ${PSOPSHEADERFILES:.h=.c}
DPSRCS+= ${DPSOPSHEADERFILES} ${DPSOPSCFILES}
CLEANFILES+= ${DPSOPSHEADERFILES} ${DPSOPSCFILES}
DPSRCS+= ${PSOPSHEADERFILES} ${PSOPSCFILES}
CLEANFILES+= ${PSOPSHEADERFILES} ${PSOPSCFILES}
CPPFLAGS+= -I.
psops.h: ${PSOPSHEADERFILES} psname.txt header.txt psifdef.txt psendif.txt
${_MKTARGET_CREATE}