1 # This only works for make implementations that always include a .depend if
2 # it exists. Only GNU make does not do this.
3
4 # Copyright 2008 Roy Marples <roy (a] marples.name>
5
6 CLEANFILES+= .depend
7
8 .depend: ${SRCS}
9 ${CC} ${CFLAGS} -MM ${SRCS} > .depend
10
11 depend: .depend
12