19 lines
390 B
Makefile
19 lines
390 B
Makefile
# $Id: Makefile,v 1.1 1994/01/07 19:15:31 pk Exp $
|
|
|
|
CFLAGS+= -DLIBC_SCCS -fpic
|
|
OBJS= c++rt0.o
|
|
|
|
all: ${OBJS}
|
|
|
|
c++rt0.o: c++rt0.c
|
|
${CC} ${CFLAGS} -c ${.ALLSRC}
|
|
@${LD} -x -r ${.TARGET}
|
|
@mv a.out ${.TARGET}
|
|
|
|
install:
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 0755 ${DESTDIR}/usr/lib
|
|
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
|
${DESTDIR}/usr/lib
|
|
|
|
.include <bsd.prog.mk>
|