Revert previous change ${.ALLSRC} will contain .h files etc.
This commit is contained in:
parent
faca0ea24c
commit
88d2078c4f
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.23 1997/10/22 16:01:50 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.24 1997/10/23 21:42:54 christos Exp $
|
||||
# from: @(#)Makefile 5.5 (Berkeley) 5/21/91
|
||||
|
||||
CPPFLAGS+= -DLIBC_SCCS -I${.CURDIR}/..
|
||||
@ -8,20 +8,20 @@ SRCS= crt0.c
|
||||
all: ${OBJS}
|
||||
|
||||
crt0.o: ${SRCS}
|
||||
@echo "${COMPILE.c} -DCRT0 -DDYNAMIC ${.ALLSRC} -o ${.TARGET}"
|
||||
@${COMPILE.c} -DCRT0 -DDYNAMIC ${.ALLSRC} -o ${.TARGET}.o
|
||||
@echo "${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}"
|
||||
@${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}.o
|
||||
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
|
||||
@rm -f ${.TARGET}.o
|
||||
|
||||
gcrt0.o: ${SRCS}
|
||||
@echo "${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}"
|
||||
@${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}.o
|
||||
@echo "${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}"
|
||||
@${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o
|
||||
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
|
||||
@rm -f ${.TARGET}.o
|
||||
|
||||
scrt0.o: ${SRCS}
|
||||
@echo "${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}"
|
||||
@${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}.o
|
||||
@echo "${COMPILE.c} -DSCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}"
|
||||
@${COMPILE.c} -DSCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o
|
||||
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
|
||||
@rm -f ${.TARGET}.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user