From 8187b0ccda766ff2000e954f01ba918faefc05d2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Oct 2000 05:10:27 +0000 Subject: Major update to string handling. strcmp and friends were horribly broken. They now test out as working properly. -Erik --- test/string/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'test/string/Makefile') diff --git a/test/string/Makefile b/test/string/Makefile index b3021e0fc..5384c9dec 100644 --- a/test/string/Makefile +++ b/test/string/Makefile @@ -20,6 +20,7 @@ endif STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $@ TARGETS=string string_glibc +TARGETS+=testcopy testcopy_glibc all: $(TARGETS) @@ -43,6 +44,26 @@ string_glibc: string.c Makefile $(TOPDIR)libc.a -./$@ -@ echo " " +testcopy: testcopy.c Makefile $(TOPDIR)libc.a + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uCLibc: " + -@ echo " " + $(CC) $(XCFLAGS) -c $< -o $@.o + $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + -./$@ + -@ echo " " + +testcopy_glibc: testcopy.c Makefile $(TOPDIR)libc.a + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs GNU libc: " + -@ echo " " + $(CC) $(YCFLAGS) -c $< -o $@.o + $(CC) $(YLDFLAGS) --static $@.o -o $@ + -./$@ + -@ echo " " + clean: rm -f *.[oa] *~ core $(TARGETS) -- cgit v1.2.3