aboutsummaryrefslogtreecommitdiff
path: root/examples/mandel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mandel/Makefile')
-rw-r--r--examples/mandel/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/mandel/Makefile b/examples/mandel/Makefile
new file mode 100644
index 0000000..4311ee9
--- /dev/null
+++ b/examples/mandel/Makefile
@@ -0,0 +1,9 @@
+.PHONY: all clean
+
+all: mandel.so
+
+clean:
+ rm -f mandel.so
+
+mandel.so: mandel.c
+ gcc -Wall -Wextra -fPIC -shared -O3 -fopenmp $< -o $@