summaryrefslogtreecommitdiff
path: root/test/args/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/args/Makefile')
-rw-r--r--test/args/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/args/Makefile b/test/args/Makefile
new file mode 100644
index 000000000..6593be0aa
--- /dev/null
+++ b/test/args/Makefile
@@ -0,0 +1,22 @@
+TESTDIR=../
+include $(TESTDIR)/Rules.mak
+
+
+TARGETS=arg_test
+all: $(TARGETS)
+
+arg_test: arg_test.c 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 $@
+ -./$@ a b c d e f g h
+ -@ echo " "
+
+clean:
+ rm -f *.[oa] *~ core $(TARGETS)
+
+