Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit af0040b

Browse files
committed
Merge branch 'zlib'
2 parents 8cfa254 + 77bf7be commit af0040b

File tree

4 files changed

+1069
-0
lines changed

4 files changed

+1069
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*.pyc
2+
*.o
3+
*.so

makefile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
mod/zlibmodule.o: mod/zlibmodule.c
3+
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c $< -o $@
4+
5+
mod/zlib.so: mod/zlibmodule.o
6+
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions $^ -o $@
7+
8+
all: mod/zlib.so
9+
10+
clean:
11+
-rm mod/*.so
12+
-rm mod/*.o

mod/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)