summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T15894/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rts/T15894/Makefile')
-rw-r--r--testsuite/tests/rts/T15894/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rts/T15894/Makefile b/testsuite/tests/rts/T15894/Makefile
new file mode 100644
index 0000000000..f8499f60d9
--- /dev/null
+++ b/testsuite/tests/rts/T15894/Makefile
@@ -0,0 +1,8 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+T15894:
+ '$(TEST_CC)' -O2 -fno-builtin -c copysign.c -o copysign.o
+ '$(AR)' rsc libcopysign.a copysign.o
+ echo main | LIBRARY_PATH="$(PWD)" '$(TEST_HC)' $(TEST_HC_OPTS_INTERACTIVE) main.hs -lcopysign