1# @(#)Makefile 5.3 (Berkeley) 05/14/90 2 3CFLAGS= -O -DLIBC_SCCS 4OBJS= crt0.o 5 6all: ${OBJS} 7 8crt0.o: crt0.c 9 ${CC} -S -DCRT0 ${.ALLSRC} 10 grep -v "^#[ _]" < ${.PREFIX}.s > x.s 11 ed x.s < :fix 12 mv x.s ${.PREFIX}.s 13 ${CPP} -traditional crt0.s > x.s 14 ${AS} -o x.o x.s 15 ${LD} -x -r -o crt0.o x.o 16 rm -f x.s x.o crt0.s 17 18install: 19 install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \ 20 ${DESTDIR}/usr/lib 21 22cleandir clean: 23 rm -f ${OBJS} gmon.o mon.o moncrt0.o core a.out x.s x.o crt0.s 24 25depend lint tags: 26