27 lines
548 B
Makefile
27 lines
548 B
Makefile
# from: @(#)Makefile 5.5 (Berkeley) 5/21/91
|
|
# $Id: Makefile,v 1.5 1995/01/07 23:10:47 mycroft Exp $
|
|
|
|
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
|
OBJS= crt0.o gcrt0.o
|
|
CLEANFILES+= gmon.o moncrt0.o core a.out
|
|
|
|
all: ${OBJS}
|
|
|
|
crt0.o: crt0.c
|
|
${COMPILE.c} -DCRT0 ${.ALLSRC}
|
|
${LD} -x -r ${.TARGET}
|
|
mv a.out ${.TARGET}
|
|
|
|
gcrt0.o: crt0.c
|
|
${COMPILE.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>
|