1996-10-18 09:36:42 +04:00
|
|
|
# $NetBSD: Makefile,v 1.7 1996/10/18 05:36:54 thorpej Exp $
|
1994-05-24 11:33:47 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/1/93
|
|
|
|
|
1995-12-12 04:53:50 +03:00
|
|
|
CFLAGS+= -DLIBC_SCCS
|
1994-05-24 11:33:47 +04:00
|
|
|
OBJS= crt0.o gcrt0.o
|
|
|
|
CLEANFILES+= core a.out
|
|
|
|
|
|
|
|
all: ${OBJS}
|
|
|
|
|
1994-12-16 13:01:23 +03:00
|
|
|
crt0.o: crt0.S
|
1995-01-08 02:21:41 +03:00
|
|
|
${COMPILE.S} -DCRT0 ${.ALLSRC}
|
|
|
|
${LD} -x -r ${.TARGET}
|
|
|
|
mv a.out ${.TARGET}
|
1994-05-24 11:33:47 +04:00
|
|
|
|
1994-12-16 13:01:23 +03:00
|
|
|
gcrt0.o: crt0.S
|
1995-06-16 01:59:25 +04:00
|
|
|
${COMPILE.S} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
1995-01-08 02:21:41 +03:00
|
|
|
${LD} -x -r ${.TARGET}
|
|
|
|
mv a.out ${.TARGET}
|
1994-05-24 11:33:47 +04:00
|
|
|
|
|
|
|
install:
|
1996-10-18 09:27:38 +04:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
1995-01-08 02:21:41 +03:00
|
|
|
${DESTDIR}/usr/lib
|
1994-05-24 11:33:47 +04:00
|
|
|
|
|
|
|
depend lint tags:
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|