No empty .Rs/.Re
[netbsd-mini2440.git] / usr.bin / crunch / crunchgen / Makefile
blobda3540a75a06c6d569df00fa6e73c0ffe8e5ebc6
1 # $NetBSD: Makefile,v 1.14 2006/08/26 18:17:42 christos Exp $
3 PROG= crunchgen
4 SRCS= crunchgen.c crunched_skel.c
5 CLEANFILES+= crunched_skel.c
7 crunched_skel.c: mkskel.sh crunched_main.c
8 ${_MKTARGET_CREATE}
9 ${HOST_SH} ${.ALLSRC} >${.TARGET}
12 .include <bsd.prog.mk>
14 .ifndef HOSTPROG
16 LDADD+=-lutil
17 DPADD+=${LIBUTIL}
19 # Native tool -- key only off TOOLCHAIN_MISSING
20 .if ${TOOLCHAIN_MISSING} == "no"
21 CPPFLAGS+= -DNEW_TOOLCHAIN
22 .endif
24 .else
26 # Host tool -- We can also pay attention to EXTERNAL_TOOLCHAIN.
27 .if ${TOOLCHAIN_MISSING} == "no" || defined(EXTERNAL_TOOLCHAIN)
28 CPPFLAGS+= -DNEW_TOOLCHAIN
29 .endif
31 .endif # ! HOSTPROG