diff options
Diffstat (limited to 'experiments/Makefile')
| -rw-r--r-- | experiments/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/experiments/Makefile b/experiments/Makefile new file mode 100644 index 0000000..991c178 --- /dev/null +++ b/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 + + |
