diff --git a/lib/csu/alpha/Makefile b/lib/csu/alpha/Makefile index 1212b446a499..0ee91e0f6814 100644 --- a/lib/csu/alpha/Makefile +++ b/lib/csu/alpha/Makefile @@ -1,6 +1,6 @@ -# # $FreeBSD$ -# + +.PATH: ${.CURDIR}/../common SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} @@ -12,11 +12,9 @@ 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: diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile index 2082a7050069..cb1bc63ef901 100644 --- a/lib/csu/amd64/Makefile +++ b/lib/csu/amd64/Makefile @@ -1,6 +1,6 @@ -# # $FreeBSD$ -# + +.PATH: ${.CURDIR}/../common SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} @@ -13,11 +13,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 ${.CURDIR}/crt1.c realinstall: diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile index 2082a7050069..cb1bc63ef901 100644 --- a/lib/csu/i386-elf/Makefile +++ b/lib/csu/i386-elf/Makefile @@ -1,6 +1,6 @@ -# # $FreeBSD$ -# + +.PATH: ${.CURDIR}/../common SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} @@ -13,11 +13,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 ${.CURDIR}/crt1.c realinstall: