Rework generating of files so that every generation tool will only run once.
[dragonfly.git] / gnu / usr.bin / cc41 / cc_tools / Makefile
blobd3f22b951b888d046bacdd2e7f2565d4f336e861
1 # $DragonFly: src/gnu/usr.bin/cc41/cc_tools/Makefile,v 1.2 2007/08/25 15:29:28 corecode Exp $
3 SUBDIR= libiberty
4 SUBDIR+= gengenrtl genmodes gengtype genpreds gencheck genconstants
5 SUBDIR+= genconditions genflags gencodes genattr genattrtab genemit
6 SUBDIR+= genconfig genextract genopinit genoutput genpeep genrecog
7 SUBDIR+= gcov-iov genchecksum
9 #.if !defined(NO_FORTRAN)
10 #SUBDIR+= fini
11 #.endif
13 .ORDER: mktooldir ${SUBDIR}
15 .include "Makefile.tools"
16 obj depend: mktooldir
17 mktooldir:
18 mkdir -p ${TOOLGENDIR}
20 clean cleandir:
21 rm -rf ${TOOLGENDIR}
23 .include <bsd.subdir.mk>