summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-11 14:38:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-11 14:38:14 +0000
commit023e22230693005c909b1f5ed4e858bbeee71637 (patch)
tree3fcad626cde28c5032fc400ff89fc8daf45c2238
parent31c995060b71a8add34e2ba85b6aac79b53d073a (diff)
glibc test apps failed to be static when told to be
-rw-r--r--test/silly/Makefile17
1 files changed, 16 insertions, 1 deletions
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)