1#	$NetBSD: Makefile,v 1.23 2006/05/19 19:11:12 christos Exp $
2
3.include <bsd.own.mk>
4
5ELFSIZE=	64
6
7#Uncomment the next line to enable the new .init fallthru
8CPPFLAGS+=	-I${.CURDIR}
9
10OBJS+=	crtfm.o
11
12.include "${.CURDIR}/../common_elf/Makefile.inc"
13
14crtfm.o: crtfm.c
15	${_MKTARGET_COMPILE}
16	${COMPILE.c} ${.ALLSRC} -o ${.TARGET}.o
17	${LD} -x -r -o ${.TARGET} ${.TARGET}.o
18	rm -f ${.TARGET}.o
19