From f9158d441880222b1ba287947ebc863785bf557c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 3 Jul 2001 06:45:58 +0000 Subject: Scrub up the tests a bit, and force everybody to use the build dir, so nothing need be installed... -Erik --- test/stat/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/stat') diff --git a/test/stat/Makefile b/test/stat/Makefile index 7d09dbcb8..2247f283f 100644 --- a/test/stat/Makefile +++ b/test/stat/Makefile @@ -15,16 +15,16 @@ stat_source: -@ cat stat.c -@ echo " " -stat: stat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) +stat: stat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) -@ echo "-------" -@ echo " " -@ echo "Compiling vs uClibc: " -@ echo " " - $(TESTCC) $(TEST_CFLAGS) -c $< -o $@.o - $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ - ls $(LSFLAGS) $@ + ls -l $@ -./$@ -@ echo " " @@ -33,11 +33,11 @@ stat_glibc: stat.c Makefile -@ echo " " -@ echo "Compiling vs GNU libc: " -@ echo " " - $(CC) $(CFLAGS) -c $< -o $@.o - $(CC) $(LDFLAGS) $@.o -o $@ + $(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o + $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -ldd $@ - ls $(LSFLAGS) $@ + ls -l $@ -./$@ -@ echo " " -- cgit v1.2.3