diff options
Diffstat (limited to 'test/unistd/Makefile')
-rw-r--r-- | test/unistd/Makefile | 13 |
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 " " |