summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'demos/c/Makefile')
-rw-r--r--demos/c/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/c/Makefile b/demos/c/Makefile
index 63dc4da5..5f053410 100644
--- a/demos/c/Makefile
+++ b/demos/c/Makefile
@@ -10,3 +10,17 @@ run_api_test: api_test
post_api_test:
md5sum apitest*
rm apitest*
+
+multi_test: multi_test.c
+ (cd ../.. && ./autogen.sh)
+ (cd ../.. && make so XCFLAGS="-DCLUSTER")
+ pwd
+ gcc -fPIC -I../.. multi_test.c -DGHOSTPDL=1 -lgpdl -lpthread -L../../sobin -o multi_test
+
+run_multi_test: multi_test
+ LD_LIBRARY_PATH=../../sobin ./multi_test
+
+post_multi_test:
+ md5sum multitest*
+ rm multitest*
+ rm multi_out*