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