Removed all the ld -x -r stuff -- paranoia.
This commit is contained in:
parent
6683327ab0
commit
b2c0440d02
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.4 1993/11/07 03:05:40 paul Exp $
|
||||
# $Id: Makefile,v 1.5 1993/11/09 04:26:10 paul Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o
|
||||
@ -9,21 +9,22 @@ all: ${OBJS}
|
||||
|
||||
crt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
# ${LD} -x -r ${.TARGET}
|
||||
# mv a.out ${.TARGET}
|
||||
|
||||
moncrt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
# ${LD} -x -r ${.TARGET}
|
||||
# mv a.out ${.TARGET}
|
||||
|
||||
gcrt0.o: moncrt0.o gmon.o
|
||||
${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o
|
||||
# ${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o
|
||||
${LD} -o ${.TARGET} moncrt0.o gmon.o
|
||||
|
||||
gmon.o: gmon.c gmon.h
|
||||
${CC} ${CFLAGS} -c ${.IMPSRC}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
# ${LD} -x -r ${.TARGET}
|
||||
# mv a.out ${.TARGET}
|
||||
|
||||
install:
|
||||
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
||||
|
Loading…
Reference in New Issue
Block a user