openrc/mk/depend.mk
2015-01-24 13:48:53 -06:00

14 lines
255 B
Makefile

# Generate .depend
# Copyright (c) 2008 Roy Marples <roy@marples.name>
CLEANFILES+= .depend
IGNOREFILES+= .depend
.depend: ${SRCS}
rm -f .depend
${CC} ${LOCAL_CPPFLAGS} ${CPPFLAGS} -MM ${SRCS} > .depend
depend: .depend extra_depend
-include .depend