build the .h before the .o

This commit is contained in:
christos 2013-10-19 17:28:38 +00:00
parent 193b880fad
commit 05546cf9db
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.4 2012/03/17 12:42:31 nakayama Exp $
# $Id: Makefile,v 1.5 2013/10/19 17:28:38 christos Exp $
.include <bsd.own.mk>
@ -18,6 +18,7 @@ CPPFLAGS+=-I$(.OBJDIR)
.plist.c:
AWK=${TOOL_AWK:Q} ${HOST_SH} ${.CURDIR}/plist_to_c ${.TARGET:S,.c$,,} < ${.IMPSRC} > ${.TARGET}
t_ppath.o: personnel.h
CLEANFILES+=personnel.c personnel.h
#LDADD+=-L$(LIBPPATH)