1993-10-17 01:02:58 +03:00
|
|
|
# from: @(#)Makefile 5.5 (Berkeley) 5/21/91
|
1994-05-14 10:33:22 +04:00
|
|
|
# $Id: Makefile,v 1.4 1994/05/14 06:33:22 cgd Exp $
|
1993-10-17 01:02:58 +03:00
|
|
|
|
1994-03-03 17:27:34 +03:00
|
|
|
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
1993-10-17 01:02:58 +03:00
|
|
|
OBJS= crt0.o gcrt0.o
|
|
|
|
CLEANFILES+= gmon.o moncrt0.o core a.out
|
|
|
|
|
|
|
|
all: ${OBJS}
|
|
|
|
|
|
|
|
crt0.o: crt0.c
|
|
|
|
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
|
|
|
${LD} -x -r ${.TARGET}
|
|
|
|
mv a.out ${.TARGET}
|
|
|
|
|
1994-05-14 10:33:22 +04:00
|
|
|
gcrt0.o: crt0.c
|
1993-10-17 01:02:58 +03:00
|
|
|
${CC} ${CFLAGS} -c -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>
|