aboutsummaryrefslogtreecommitdiff
path: root/mk/depend.mk
blob: 873b0ca3787f35561ef9adf81ee43ed41f7de5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Generate .depend
# Copyright (c) 2008 Roy Marples <roy@marples.name>

CLEANFILES+=	.depend
IGNOREFILES+=	.depend

.depend: ${SRCS}
	rm -f .depend
	${CC} ${LOCAL_CPPFLAGS} ${CPPFLAGS} -MM ${SRCS} > .depend

depend: .depend extra_depend

-include .depend