aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..44c43bf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
1all: sum.o sum_module.so
2
3sum.o:
4 cc -c -o sum.o sum.c
5
6sum_module.so:
7 cc -shared -I/usr/include/python3.12 -o sum_module.so sum.o sum_module.c
8
9clean:
10 rm -rf *.o *.so
11
12.PHONY: all clean

Generated with cgit - Back to sebastiano.tronto.net