diff options
Diffstat (limited to 'python_cdll_multithread/Makefile')
| -rw-r--r-- | python_cdll_multithread/Makefile | 8 |
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 |
