summaryrefslogtreecommitdiff
path: root/test/setjmp/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-16 03:20:36 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-16 03:20:36 +0000
commit162b5c1c0a1d12b47250e422b036882eefc99732 (patch)
tree085b8f38c559d37711746c1a04b8337f2c2544e1 /test/setjmp/Makefile
parent39f83819e26ed9c63386bdf254d2f6751f54cce9 (diff)
Add in a setjmp test from David Schleef
Diffstat (limited to 'test/setjmp/Makefile')
-rw-r--r--test/setjmp/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/setjmp/Makefile b/test/setjmp/Makefile
new file mode 100644
index 000000000..45721ef90
--- /dev/null
+++ b/test/setjmp/Makefile
@@ -0,0 +1,22 @@
+TESTDIR=../
+include $(TESTDIR)/Rules.mak
+
+
+TARGETS=setjmp_test
+all: $(TARGETS)
+
+setjmp_test: setjmp_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 $@
+ -./$@
+ -@ echo " "
+
+clean:
+ rm -f *.[oa] *~ core $(TARGETS)
+
+