Home | History | Annotate | Line # | Download | only in crunchgen
Makefile revision 1.9
      1  1.9  thorpej #	$NetBSD: Makefile,v 1.9 2002/09/17 23:18:27 thorpej Exp $
      2  1.1      cgd 
      3  1.7       tv PROG=		crunchgen
      4  1.7       tv SRCS=		crunchgen.c crunched_skel.c
      5  1.7       tv CLEANFILES+=	crunched_skel.c
      6  1.1      cgd 
      7  1.7       tv crunched_skel.c: mkskel.sh crunched_main.c
      8  1.7       tv 	sh ${.ALLSRC} >${.TARGET}
      9  1.1      cgd 
     10  1.5      jmc .ifndef HOSTPROG
     11  1.1      cgd .include <bsd.prog.mk>
     12  1.9  thorpej 
     13  1.9  thorpej # Native tool -- key only off TOOLCHAIN_MISSING
     14  1.9  thorpej .if ${TOOLCHAIN_MISSING} != "yes"
     15  1.9  thorpej CPPFLAGS+=	-DNEW_TOOLCHAIN
     16  1.8       tv .endif
     17  1.9  thorpej .else
     18  1.9  thorpej # Host tool -- We can also pay attention to EXTERNAL_TOOLCHAIN.
     19  1.9  thorpej .if ${TOOLCHAIN_MISSING} != "yes" || defined(EXTERNAL_TOOLCHAIN)
     20  1.8       tv CPPFLAGS+=	-DNEW_TOOLCHAIN
     21  1.5      jmc .endif
     22  1.9  thorpej .endif	# ! HOSTPROG
     23