diff options
-rw-r--r-- | gnu/lib/csu/Makefile | 4 | ||||
-rw-r--r-- | lib/csu/alpha/Makefile | 2 | ||||
-rw-r--r-- | lib/csu/amd64/Makefile | 2 | ||||
-rw-r--r-- | lib/csu/i386-elf/Makefile | 2 | ||||
-rw-r--r-- | lib/csu/ia64/Makefile | 2 | ||||
-rw-r--r-- | lib/csu/powerpc/Makefile | 2 | ||||
-rw-r--r-- | lib/csu/sparc64/Makefile | 2 |
7 files changed, 15 insertions, 1 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 5c6b412..7b8cc46 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -25,6 +25,8 @@ SRCS+= crtfastmath.c all: ${OBJS} ${SOBJS} ${TGTOBJS} +CLEANFILES= ${OBJS} ${SOBJS} ${TGTOBJS} + crtbegin.o crtbegin.So crtend.o crtend.So: ${SRCS} crtbegin.o: @@ -43,7 +45,7 @@ crtend.So: ${CC} ${CFLAGS} -g0 -DCRT_END ${CRTS_CFLAGS} \ -c -o ${.TARGET} ${.ALLSRC:M*crtstuff*} -CLEANFILES= tconfig.h +CLEANFILES+= tconfig.h tconfig.h: ${CCDIR}/cc_tools/Makefile ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET} diff --git a/lib/csu/alpha/Makefile b/lib/csu/alpha/Makefile index 32b7f68..46c0277 100644 --- a/lib/csu/alpha/Makefile +++ b/lib/csu/alpha/Makefile @@ -11,6 +11,8 @@ CFLAGS+= -Wall -Wno-unused \ all: ${OBJS} +CLEANFILES= ${OBJS} + gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile index 594ab7e..a780693 100644 --- a/lib/csu/amd64/Makefile +++ b/lib/csu/amd64/Makefile @@ -12,6 +12,8 @@ LDFLAGS+= -elf all: ${OBJS} +CLEANFILES= ${OBJS} + gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile index 594ab7e..a780693 100644 --- a/lib/csu/i386-elf/Makefile +++ b/lib/csu/i386-elf/Makefile @@ -12,6 +12,8 @@ LDFLAGS+= -elf all: ${OBJS} +CLEANFILES= ${OBJS} + gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c diff --git a/lib/csu/ia64/Makefile b/lib/csu/ia64/Makefile index 32b7f68..46c0277 100644 --- a/lib/csu/ia64/Makefile +++ b/lib/csu/ia64/Makefile @@ -11,6 +11,8 @@ CFLAGS+= -Wall -Wno-unused \ all: ${OBJS} +CLEANFILES= ${OBJS} + gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile index 32b7f68..46c0277 100644 --- a/lib/csu/powerpc/Makefile +++ b/lib/csu/powerpc/Makefile @@ -11,6 +11,8 @@ CFLAGS+= -Wall -Wno-unused \ all: ${OBJS} +CLEANFILES= ${OBJS} + gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} diff --git a/lib/csu/sparc64/Makefile b/lib/csu/sparc64/Makefile index 09057e3..3d1904c 100644 --- a/lib/csu/sparc64/Makefile +++ b/lib/csu/sparc64/Makefile @@ -9,6 +9,8 @@ CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../../libc/include all: ${OBJS} +CLEANFILES= ${OBJS} + gcrt1.o: crt1.c ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} |