From 5b8c1b7041abeb8b75d1377957f191522391a3dd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 11 Jul 1998 14:23:53 +0000 Subject: Yet another EXEEXT patch. This one is from Ralf Corsepius and his comments are below: Joel, obviously you did apply my previous patch to gcc-target-default.cfg -- This should have been gcc.cfg (gcc-target-default.cfg should NOT contain any EXEEXT). --- make/compilers/gcc-target-default.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/compilers') diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index f2d4233147..82294d0e87 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -203,7 +203,7 @@ ${ARCH}/%.o: %.s # Specify our own default rule for this to prevent having CFLAGS and # CPPFLAGS being passed to linker -${ARCH}/%$(EXEEXT): ${ARCH}/%.o +${ARCH}/%: ${ARCH}/%.o ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS} # Make foo.rel from foo.o @@ -211,7 +211,7 @@ ${ARCH}/%.rel: ${ARCH}/%.o ${LD} $(LDFLAGS_INCOMPLETE) -o $@ $^ # create $(ARCH)/pgm from pgm.sh -${ARCH}/%$(EXEEXT): %.sh +${ARCH}/%: %.sh $(RM) $@ $(CP) $< $@ $(CHMOD) +x $@ -- cgit v1.2.3