From 1c24f917c16ad76d2f430a652b39874fdfa9cc38 Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 26 May 2002 17:09:31 +0000 Subject: Rev 1.12 broke `make all' w/o a previous `make depends'. --- gnu/lib/csu/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 24a3652..88521ce 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -35,24 +35,25 @@ BEGINSRC?= crtstuff.c ENDSRC?= crtstuff.c all: ${OBJS} ${SOBJS} ${TGTOBJS} +${OBJS} ${SOBJS}: tconfig.h CLEANFILES= ${OBJS} ${SOBJS} ${TGTOBJS} crtbegin.o: ${BEGINSRC} ${CC} ${CFLAGS} -g0 -DCRT_BEGIN \ - -c -o ${.TARGET} ${.ALLSRC} + -c -o ${.TARGET} ${.ALLSRC:N*.h} crtbegin.So: ${BEGINSRC} ${CC} ${CFLAGS} -g0 -DCRT_BEGIN ${CRTS_CFLAGS} \ - -c -o ${.TARGET} ${.ALLSRC} + -c -o ${.TARGET} ${.ALLSRC:N*.h} crtend.o: ${ENDSRC} ${CC} ${CFLAGS} -g0 -DCRT_END \ - -c -o ${.TARGET} ${.ALLSRC} + -c -o ${.TARGET} ${.ALLSRC:N*.h} crtend.So: ${ENDSRC} ${CC} ${CFLAGS} -g0 -DCRT_END ${CRTS_CFLAGS} \ - -c -o ${.TARGET} ${.ALLSRC} + -c -o ${.TARGET} ${.ALLSRC:N*.h} CLEANFILES+= tconfig.h tconfig.h: ${CCDIR}/cc_tools/Makefile -- cgit v1.1