aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-07 11:00:04 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-07 11:00:04 +0200
commit5f9adbf56b8dd9d2bc3c83b52eeb4073f7464455 (patch)
treeec2599c3ecd97bca952b959fd7ce96817c23312f /Makefile
downloadpython-c-5f9adbf56b8dd9d2bc3c83b52eeb4073f7464455.tar.gz
python-c-5f9adbf56b8dd9d2bc3c83b52eeb4073f7464455.zip
Initial commit
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