blob: 36b5dbdb07e5f48337d80b161f24766acc631d3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $OpenBSD: Makefile,v 1.6 1998/09/15 11:01:51 pefo Exp $
.include <bsd.own.mk>
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>
|