summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authoryzc <[email protected]>2020-01-06 14:27:40 +0800
committeryzc <[email protected]>2020-01-06 14:27:40 +0800
commitb695bb91b5815fe6f0d8365936e8b7d562c8a992 (patch)
tree759d82e8a6d3a7ee4fdfa87e4762a5b4ce5ef019 /src/Makefile
add code
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..c7742b5
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,6 @@
+all:
+ gcc -O2 -fPIC -shared http_count.c -o http_count.so
+debug:
+ gcc -g -fPIC -shared http_count.c -o http_count.so
+clean:
+ rm *.so *.o -rf