NetBSD/usr.bin/crunch/crunchgen/Makefile

18 lines
435 B
Makefile

# $NetBSD: Makefile,v 1.6 2001/10/25 01:47:11 thorpej Exp $
PROG=crunchgen
SRCS=crunchgen.c crunched_skel.c
CLEANFILES+= crunched_skel.c
# XXX This should go away and the code cleaned up with all ports are converted
.if defined(USE_NEW_TOOLCHAIN)
CPPFLAGS+= -DNEW_TOOLCHAIN
.endif
crunched_skel.c: crunched_main.c
sh ${.CURDIR}/mkskel.sh ${.CURDIR}/crunched_main.c > crunched_skel.c
.ifndef HOSTPROG
.include <bsd.prog.mk>
.endif