summaryrefslogtreecommitdiff
path: root/lib/csu/c++/Makefile
blob: 9bf86196ed0781a657ff43ac8b0b41aa9af8111d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$Id: Makefile,v 1.1 1995/10/18 08:41:17 deraadt Exp $

CFLAGS+=	-DLIBC_SCCS -fpic
OBJS=		c++rt0.o

all: ${OBJS}

c++rt0.o: c++rt0.c
	${COMPILE.c} ${.ALLSRC}
	@${LD} -x -r ${.TARGET}
	@mv a.out ${.TARGET}

install:
	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
	    ${DESTDIR}/usr/lib

.include <bsd.prog.mk>