NetBSD/lib/csu/c++/Makefile
dmcmahill 7348e432f3 change -fpic to -fPIC. Among other things this will let sparc shared
c++ libraries built with pkglibtool (which uses -fPIC) work.
change approved by mycroft.
2000-04-29 17:42:46 +00:00

18 lines
286 B
Makefile

# $NetBSD: Makefile,v 1.14 2000/04/29 17:42:46 dmcmahill Exp $
CPPFLAGS+= -DLIBC_SCCS
COPTS+= -fPIC
OBJS= c++rt0.o
realall: ${OBJS}
c++rt0.o: c++rt0.c
${COMPILE.c} ${.ALLSRC}
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
FILES=${OBJS}
FILESDIR=${LIBDIR}
.include <bsd.prog.mk>