2 # Copyright 2008 Roy Marples <roy@marples.name>
7 ${CC} ${CPPFLAGS} ${CFLAGS} -MM ${SRCS} > .depend
12 # Nasty hack. depend-.mk is a blank file, depend-gmake.mk has a gmake specific
13 # command to optionally include .depend.
14 # Someone should patch gmake to optionally include .depend if it exists.
15 _INC_DEP= $(shell if ${MAKE} --version | grep -q "^GNU "; then \
16 echo "gmake"; else echo ""; fi)
17 include ${MK}/depend-${_INC_DEP}.mk