Commit 4925f285 by Richard Kenner

(cross-test, enquire, protoize, unprotoize): Specify program name in

-o to force into build directory.

From-SVN: r6446
parent bd7da539
......@@ -534,7 +534,7 @@ rest.cross: $(LIBGCC) gfloat.h specs
# Verify that it works to compile and link cross-test.
# If it does, then there are sufficient replacements for libgcc1.a.
cross-test: cross-test.o native gcc-cross $(LIBGCC) $(GCC_PARTS)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) cross-test.o -o $@
$(GCC_FOR_TARGET) $(GCC_CFLAGS) cross-test.o -o cross-test
cross-test.o: cross-test.c native gcc-cross
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -c $(srcdir)/cross-test.c
......@@ -592,7 +592,7 @@ float.h-cross:
# Used to compile enquire with standard cc, but have forgotten why.
# Let's try with GCC.
enquire: enquire.o $(GCC_PARTS)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ENQUIRE_LDFLAGS) enquire.o -o $@
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ENQUIRE_LDFLAGS) enquire.o -o enquire
enquire.o: $(srcdir)/enquire.c $(GCC_PASSES)
# -if [ "$(srcdir)" != "." ]; then rm -f ./enquire.c; else true; fi
# -cp $(srcdir)/enquire.c . > /dev/null 2>&1
......@@ -1409,12 +1409,13 @@ proto: config.status protoize unprotoize SYSCALLS.c.X
protoize: protoize.o getopt.o getopt1.o getpwd.o version.o $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) \
protoize.o getopt.o getopt1.o getpwd.o version.o $(LIBS) -o $@
protoize.o getopt.o getopt1.o getpwd.o version.o $(LIBS) -o protoize
protoize.o: stamp-proto ; @true
unprotoize: unprotoize.o getopt.o getopt1.o getpwd.o version.o $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) \
unprotoize.o getopt.o getopt1.o getpwd.o version.o $(LIBS) -o $@
unprotoize.o getopt.o getopt1.o getpwd.o version.o $(LIBS) \
-o unprotoize
unprotoize.o: stamp-proto ; @true
stamp-proto: $(srcdir)/protoize.c getopt.h $(CONFIG_H)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment