2004-03-09 23:04:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.16 2004/03/09 20:04:00 skrll Exp $
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1994-01-07 22:15:31 +03:00
|
|
|
|
1997-10-22 20:00:39 +04:00
|
|
|
CPPFLAGS+= -DLIBC_SCCS
|
2004-02-14 11:41:58 +03:00
|
|
|
.if ${MKPIC} != "no"
|
2000-04-29 21:42:46 +04:00
|
|
|
COPTS+= -fPIC
|
2004-02-14 11:41:58 +03:00
|
|
|
.endif
|
1994-01-07 22:15:31 +03:00
|
|
|
OBJS= c++rt0.o
|
|
|
|
|
2000-01-22 22:37:57 +03:00
|
|
|
realall: ${OBJS}
|
1994-01-07 22:15:31 +03:00
|
|
|
|
|
|
|
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}
|
1999-04-03 20:28:49 +04:00
|
|
|
FILESDIR=${LIBDIR}
|
1994-01-07 22:15:31 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|