From 88aa307607422895132cc7950bdac5d871d63cb2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 18 Jun 2002 20:46:40 +0000 Subject: A simple test for getcwd -Erik --- test/unistd/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/unistd/Makefile') diff --git a/test/unistd/Makefile b/test/unistd/Makefile index fc77c35d1..251f4c78e 100644 --- a/test/unistd/Makefile +++ b/test/unistd/Makefile @@ -21,9 +21,20 @@ include $(TESTDIR)/Rules.mak -TARGETS=fork fork_glibc vfork vfork_glibc +TARGETS=fork fork_glibc vfork vfork_glibc getcwd all: $(TARGETS) +getcwd: getcwd.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uClibc: " + -@ echo " " + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + ./$@ + -@ echo " " + fork: fork.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) -@ echo "-------" -@ echo " " -- cgit v1.2.3