2001-11-12 21:53:40 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2001/11/12 18:53:40 tv Exp $
|
1994-08-29 18:47:29 +04:00
|
|
|
|
2001-11-12 21:53:40 +03:00
|
|
|
PROG= crunchgen
|
|
|
|
SRCS= crunchgen.c crunched_skel.c
|
|
|
|
CLEANFILES+= crunched_skel.c
|
1994-08-29 18:47:29 +04:00
|
|
|
|
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-11-12 21:53:40 +03:00
|
|
|
CPPFLAGS+= -DNEW_TOOLCHAIN
|
2001-10-06 02:52:56 +04:00
|
|
|
.endif
|
|
|
|
|
2001-11-12 21:53:40 +03:00
|
|
|
crunched_skel.c: mkskel.sh crunched_main.c
|
|
|
|
sh ${.ALLSRC} >${.TARGET}
|
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
|