2008-01-07 14:20:13 +00:00
|
|
|
# This only works for make implementations that always include a .depend if
|
|
|
|
# it exists. Only GNU make does not do this.
|
|
|
|
|
2008-01-09 11:44:43 +00:00
|
|
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
2008-03-26 17:53:37 +00:00
|
|
|
# All rights reserved. Released under the 2-clause BSD license.
|
2008-01-07 14:20:13 +00:00
|
|
|
|
2008-01-09 11:44:43 +00:00
|
|
|
CLEANFILES+= .depend
|
2008-03-03 13:04:08 +00:00
|
|
|
IGNOREFILES+= .depend
|
2008-01-09 11:44:43 +00:00
|
|
|
|
|
|
|
.depend: ${SRCS}
|
|
|
|
${CC} ${CFLAGS} -MM ${SRCS} > .depend
|
2008-01-07 14:20:13 +00:00
|
|
|
|
2008-01-09 11:44:43 +00:00
|
|
|
depend: .depend
|