blob: 4d87823269b5d80d1e6bc6813d4e2d56c0855f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $OpenBSD: Makefile,v 1.4 1997/04/27 20:56:00 millert Exp $
CFLAGS+= -DLIBC_SCCS
.if !defined(NOPIC)
CFLAGS+= -fpic
.endif
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} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
.include <bsd.prog.mk>
|