diff options
Diffstat (limited to 'test/unistd/Makefile')
-rw-r--r-- | test/unistd/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/unistd/Makefile b/test/unistd/Makefile index 360392612..b4a959233 100644 --- a/test/unistd/Makefile +++ b/test/unistd/Makefile @@ -21,7 +21,7 @@ include $(TESTDIR)/Rules.mak -TARGETS=fork fork_glibc vfork vfork_glibc getcwd getopt getopt_long +TARGETS=fork fork_glibc vfork vfork_glibc getcwd getopt getopt_long preadwrite all: $(TARGETS) getcwd: getcwd.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) @@ -93,6 +93,13 @@ getopt_long: getopt_long.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) ./$@ --add XXX --delete YYY --verbose -@ echo " " +preadwrite: preadwrite.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + ./$@ + -@ echo " " + clean: rm -f *.[oa] *~ core $(TARGETS) |