From 023e22230693005c909b1f5ed4e858bbeee71637 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 11 Jan 2002 14:38:14 +0000 Subject: glibc test apps failed to be static when told to be --- test/silly/Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/test/silly/Makefile b/test/silly/Makefile index 6e983a7cf..751fa76e6 100644 --- a/test/silly/Makefile +++ b/test/silly/Makefile @@ -21,7 +21,7 @@ include $(TESTDIR)/Rules.mak -TARGETS=hello_source hello hello_glibc +TARGETS=hello_source hello hello_glibc tiny all: $(TARGETS) @@ -59,6 +59,21 @@ hello_glibc: hello.c Makefile -./$@ -@ echo " " + +tiny: tiny.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 $@ + -$(LDD) $@ + ls -l $@ + -./$@ + -@ echo " " + + clean: rm -f *.[oa] *~ core $(TARGETS) -- cgit v1.2.3