Makefile revision 34198
1#
2#	$Id: Makefile,v 1.6 1996/04/12 02:24:34 jdp Exp $
3#
4
5SRCS=		crt1.c crtbegin.c crtend.c crti.S crtn.S
6OBJS=		${SRCS:N*.h:R:S/$/.o/g}
7SOBJS=		crtbegin.so crtend.so
8CFLAGS+=	-elf
9CFLAGS+=	-Wall -Wno-unused
10LDFLAGS+=	-elf
11NOMAN=		true
12NOPIC=		true
13NOPROFILE=	true
14INTERNALLIB=	true
15
16all: ${OBJS} ${SOBJS}
17
18realinstall:
19.for file in ${OBJS} ${SOBJS}
20	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
21	    ${file} ${DESTDIR}${LIBDIR}/${file:S/.so$/S.o/}
22.endfor
23
24.include <bsd.lib.mk>
25