NetBSD/lib/csu/c++/Makefile

23 lines
353 B
Makefile
Raw Normal View History

2008-07-21 19:34:58 +04:00
# $NetBSD: Makefile,v 1.17 2008/07/21 15:34:58 lukem Exp $
.include <bsd.own.mk>
1994-01-07 22:15:31 +03:00
CPPFLAGS+= -DLIBC_SCCS
2004-02-14 11:41:58 +03:00
.if ${MKPIC} != "no"
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
2008-07-21 19:34:58 +04:00
${_MKTARGET_COMPILE}
${COMPILE.c} ${.ALLSRC}
2008-07-21 19:34:58 +04:00
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
1994-01-07 22:15:31 +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>