openrc/mk/depend.mk
2011-02-04 22:28:57 -06:00

14 lines
237 B
Makefile

# 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