NetBSD/lib/csu/c++/Makefile

21 lines
377 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 1996/11/03 18:12:00 ws Exp $
1994-01-07 22:15:31 +03:00
CFLAGS+= -DLIBC_SCCS
.if (${MACHINE_ARCH} != "powerpc")
CFLAGS+= -fpic
.endif
1994-01-07 22:15:31 +03:00
OBJS= c++rt0.o
all: ${OBJS}
c++rt0.o: c++rt0.c
${COMPILE.c} ${.ALLSRC}
1994-01-07 22:15:31 +03:00
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
install:
1996-10-18 09:27:38 +04:00
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
1994-01-07 22:15:31 +03:00
${DESTDIR}/usr/lib
.include <bsd.prog.mk>