summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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)