Add gcc40 infrastructure, but don't tie it to the build yet.
[dragonfly.git] / gnu / usr.bin / cc40 / cc_tools / gencheck / Makefile
1 # $DragonFly: src/gnu/usr.bin/cc40/cc_tools/gencheck/Attic/Makefile,v 1.1 2005/06/05 22:43:20 corecode Exp $
2
3 .include "../Makefile.inc"
4 .include "../../Makefile.langs"
5
6 PROG=   gencheck
7 SRCS=   gencheck.c gencheck.h
8
9 CLEANFILES+=    gencheck.h
10
11 gencheck.h: Makefile ../../Makefile.langs
12         -rm -f ${.TARGET}
13 .if defined(gencheck_defs)
14 .for F in ${gencheck_defs}
15         echo "#include \"${F}\"" >> ${.TARGET}
16 .endfor
17 .else
18         touch ${.TARGET}
19 .endif
20
21 .include <bsd.hostprog.mk>