diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile index 5d69e5b4a973..65dd0099aba9 100644 --- a/lib/csu/powerpc/Makefile +++ b/lib/csu/powerpc/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.PATH: ${.CURDIR}/../common + SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} OBJS+= gcrt1.o @@ -10,11 +12,10 @@ NOPIC= true NOPROFILE= true INTERNALLIB= true -.PATH: ${.CURDIR}/../common all: ${OBJS} ${SOBJS} -gcrt1.o: crt1.c +gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} realinstall: