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).
This commit is contained in:
Joel Sherrill
1998-07-11 14:23:53 +00:00
parent 3a447c3b36
commit 5b8c1b7041
2 changed files with 4 additions and 4 deletions

View File

@@ -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 $@

View File

@@ -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 $@