1# @(#)Makefile 5.8 (Berkeley) 07/10/92 2 3CFLAGS= -O -DLIBC_SCCS 4OBJS= crt0.o gcrt0.o 5CLEANFILES+= core a.out 6 7all: ${OBJS} 8 9crt0.o: crt0.c 10 ${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC} 11 ${LD} -x -r ${.TARGET} 12 mv a.out ${.TARGET} 13 14gcrt0.o: crt0.c 15 ${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET} 16 ${LD} -x -r ${.TARGET} 17 mv a.out ${.TARGET} 18 19install: 20 install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \ 21 ${DESTDIR}/usr/lib 22 23depend lint tags: 24 25.include <bsd.prog.mk> 26