summaryrefslogtreecommitdiff
path: root/python_cdll_multithread/Makefile
diff options
context:
space:
mode:
authorstderr64 <stderr64@null.net>2025-10-28 18:11:09 +0200
committerstderr64 <stderr64@null.net>2025-10-28 18:11:09 +0200
commit557bf9c01fd78848167c1db8327aed259c5b3690 (patch)
treee58d1d10861e2586353f3a14193609134314d34f /python_cdll_multithread/Makefile
parent56346d0b8041caa99ce1ac57becff11e78fd561e (diff)
downloadexperiments-557bf9c01fd78848167c1db8327aed259c5b3690.tar.gz
experiments-557bf9c01fd78848167c1db8327aed259c5b3690.tar.zst
Added some stuff
Diffstat (limited to 'python_cdll_multithread/Makefile')
-rw-r--r--python_cdll_multithread/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/python_cdll_multithread/Makefile b/python_cdll_multithread/Makefile
new file mode 100644
index 0000000..45040bf
--- /dev/null
+++ b/python_cdll_multithread/Makefile
@@ -0,0 +1,8 @@
+CC=gcc
+CFLAGS=-O2 -march=x86-64-v3 -fPIC -shared
+
+rel:
+ $(CC) ${CFLAGS} ./libpcdlltest.c -o libpcdlltest.so -lpthread
+
+clean:
+ rm ./libpcdlltest.so