NetBSD/lib/csu/mips/Makefile
1996-10-18 05:36:42 +00:00

27 lines
527 B
Makefile

# $NetBSD: Makefile,v 1.7 1996/10/18 05:36:54 thorpej Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/1/93
CFLAGS+= -DLIBC_SCCS
OBJS= crt0.o gcrt0.o
CLEANFILES+= core a.out
all: ${OBJS}
crt0.o: crt0.S
${COMPILE.S} -DCRT0 ${.ALLSRC}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
gcrt0.o: crt0.S
${COMPILE.S} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
install:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
depend lint tags:
.include <bsd.prog.mk>