summaryrefslogtreecommitdiff
path: root/test/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc/Makefile')
-rw-r--r--test/misc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/misc/Makefile b/test/misc/Makefile
new file mode 100644
index 000000000..5e6ffb504
--- /dev/null
+++ b/test/misc/Makefile
@@ -0,0 +1,20 @@
+TESTDIR=../
+include $(TESTDIR)/Rules.mak
+
+TARGETS=outb
+all: $(TARGETS)
+
+outb: outb.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
+ -@ echo "-------"
+ -@ echo " "
+ -@ echo "Compiling vs uClibc: "
+ -@ echo " "
+ $(TESTCC) $(CFLAGS) -c $< -o $@.o
+ $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(STRIPTOOL) -x -R .note -R .comment $@
+ ./$@
+ -@ echo " "
+clean:
+ rm -f *.[oa] *~ core $(TARGETS)
+
+