summaryrefslogtreecommitdiffstats
path: root/make/compilers/gcc-target-default.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/compilers/gcc-target-default.cfg')
-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 $@