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