summaryrefslogtreecommitdiffstats
path: root/ic_experiments/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ic_experiments/Makefile')
-rw-r--r--ic_experiments/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ic_experiments/Makefile b/ic_experiments/Makefile
new file mode 100644
index 0000000..0fd956a
--- /dev/null
+++ b/ic_experiments/Makefile
@@ -0,0 +1,6 @@
+all:
+ cython -a ml.pyx
+ gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -I/usr/include/python2.7 -c ml.c -o ml.o
+ gcc -pthread -shared -Wl,-O3,--sort-common,--as-needed,-z,relro ml.o -L/usr/lib -lpython2.7 -o ml.so
+
+