summaryrefslogtreecommitdiff
path: root/test/string/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-05 05:10:27 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-05 05:10:27 +0000
commit8187b0ccda766ff2000e954f01ba918faefc05d2 (patch)
tree7dfa36055a9689a672c14185d37a7396e5746b4b /test/string/Makefile
parent6ba17041381afeb8c1274cce4c6ffebda0253328 (diff)
Major update to string handling. strcmp and friends were horribly
broken. They now test out as working properly. -Erik
Diffstat (limited to 'test/string/Makefile')
-rw-r--r--test/string/Makefile21
1 files changed, 21 insertions, 0 deletions
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)