1997-10-22 20:00:39 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 1997/10/22 16:01:28 lukem Exp $
|
1994-01-07 22:15:31 +03:00
|
|
|
|
1997-10-22 20:00:39 +04:00
|
|
|
CPPFLAGS+= -DLIBC_SCCS
|
1996-11-03 21:12:00 +03:00
|
|
|
.if (${MACHINE_ARCH} != "powerpc")
|
1997-10-22 20:00:39 +04:00
|
|
|
COPTS+= -fpic
|
1996-11-03 21:12:00 +03:00
|
|
|
.endif
|
1994-01-07 22:15:31 +03:00
|
|
|
OBJS= c++rt0.o
|
|
|
|
|
|
|
|
all: ${OBJS}
|
|
|
|
|
|
|
|
c++rt0.o: c++rt0.c
|
1995-01-08 02:07:03 +03:00
|
|
|
${COMPILE.c} ${.ALLSRC}
|
1994-01-07 22:15:31 +03:00
|
|
|
@${LD} -x -r ${.TARGET}
|
|
|
|
@mv a.out ${.TARGET}
|
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
FILES=${OBJS}
|
|
|
|
FILESDIR=/usr/lib
|
1994-01-07 22:15:31 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|