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