summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-11 14:23:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-11 14:23:53 +0000
commit5b8c1b7041abeb8b75d1377957f191522391a3dd (patch)
tree0a2d685b1db5995ff5b9a85a31f51c16a18abaa9 /make
parent3a447c3b365fe1a5c8a9c8bb7090b85b51af5a7e (diff)
downloadrtems-5b8c1b7041abeb8b75d1377957f191522391a3dd.tar.bz2
Yet another EXEEXT patch. This one is from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> 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).
Diffstat (limited to 'make')
-rw-r--r--make/compilers/gcc-target-default.cfg4
1 files changed, 2 insertions, 2 deletions
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 $@