17750ad47SMarcel Moolenaar 27750ad47SMarcel Moolenaar.if ${.MAKE.DEPENDFILE:M*.${MACHINE}} == "" 37750ad47SMarcel Moolenaar# by default only MACHINE0 does updates 4a6589ab7SSimon J. GerratyUPDATE_DEPENDFILE_MACHINE?= ${MACHINE0:U${MACHINE}} 57750ad47SMarcel Moolenaar.if ${MACHINE} != ${UPDATE_DEPENDFILE_MACHINE} 67750ad47SMarcel MoolenaarUPDATE_DEPENDFILE= no 77750ad47SMarcel Moolenaar.endif 87750ad47SMarcel Moolenaar.endif 97750ad47SMarcel Moolenaar 107750ad47SMarcel MoolenaarCLEANFILES+= .depend 117750ad47SMarcel Moolenaar 127750ad47SMarcel Moolenaar# handy for debugging 137750ad47SMarcel Moolenaar.SUFFIXES: .S .c .cc .cpp .cpp-out 147750ad47SMarcel Moolenaar 157750ad47SMarcel Moolenaar 167750ad47SMarcel Moolenaar.S.cpp-out .c.cpp-out: .NOMETA 177750ad47SMarcel Moolenaar @${CC} -E ${CFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$' 187750ad47SMarcel Moolenaar 197750ad47SMarcel Moolenaar.cc.cpp-out: .NOMETA 207750ad47SMarcel Moolenaar @${CXX} -E ${CXXFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$' 21e300f328SSimon J. Gerraty 22e300f328SSimon J. Gerraty.-include <site.autodep.mk> 23*a6bd50f7SSimon J. Gerraty 24*a6bd50f7SSimon J. Gerraty.ifdef _RECURSING_CRUNCH 25*a6bd50f7SSimon J. Gerraty# crunchgen does not want to see our stats 26*a6bd50f7SSimon J. Gerraty_reldir_finish: .NOTMAIN 27*a6bd50f7SSimon J. Gerraty.endif 28