minix/lib/csu/alpha/Makefile
Ben Gras e83f7ba2c9 switch to netbsd csu
. file- and functionality-compatible with previous situation
          (FreeBSD csu) (with a crt1.o -> crt0.o symlink in /usr/lib)
        . harmonizes source with netbsd
        . harmonizes linker invocation (e.g. clang) with netbsd
        . helpful to get some arm code in there for the arm port project
2012-04-12 13:26:24 +02:00

18 lines
385 B
Makefile

# $NetBSD: Makefile,v 1.24 2008/07/21 15:34:58 lukem Exp $
.include <bsd.own.mk>
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
${_MKTARGET_COMPILE}
${COMPILE.c} ${.ALLSRC} -o ${.TARGET}.o
${LD} -x -r -o ${.TARGET} ${.TARGET}.o
rm -f ${.TARGET}.o