summaryrefslogtreecommitdiff
path: root/test/unistd/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-18 20:46:40 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-18 20:46:40 +0000
commit88aa307607422895132cc7950bdac5d871d63cb2 (patch)
treecc301348005677be788985279b2f56b9888f6513 /test/unistd/Makefile
parentb8d09d7cfc7a5aec2d510335313c0e5470df37c1 (diff)
A simple test for getcwd
-Erik
Diffstat (limited to 'test/unistd/Makefile')
-rw-r--r--test/unistd/Makefile13
1 files changed, 12 insertions, 1 deletions
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 " "