diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/string/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/string/Makefile b/test/string/Makefile index 7bcd6dc76..3277334ab 100644 --- a/test/string/Makefile +++ b/test/string/Makefile @@ -22,6 +22,7 @@ YLDFLAGS = -s --static TARGETS=string string_glibc TARGETS+=testcopy testcopy_glibc +TARGETS+=strerror strsignal all: $(TARGETS) @@ -78,6 +79,29 @@ testcopy_diff: testcopy testcopy_glibc -@ echo " " +strerror: ../../string/strerror.c + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uClibc: " + -@ echo " " + $(CC) $(XCFLAGS) -DCHECK_BUF -c $< -o $@.o + $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + -./$@ + -@ echo " " + +strsignal: ../../string/strsignal.c + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uClibc: " + -@ echo " " + $(CC) $(XCFLAGS) -DCHECK_BUF -c $< -o $@.o + $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + -./$@ + -@ echo " " + + clean: rm -f *.[oa] *~ core $(TARGETS) testcopy.gnu.out testcopy.out |