summaryrefslogtreecommitdiff
path: root/mk/depend.mk
blob: 44af3782e59024026013b6bdcb4c9392ff7334c9 (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} ${CPPFLAGS} -MM ${SRCS} > .depend

depend: .depend extra_depend

-include .depend