aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2025-03-28 11:29:30 +0100
committercbdev <cb@cbcdn.com>2025-03-28 11:29:30 +0100
commite45a0409039032c74b3aa851eb308a541264adcd (patch)
tree73ad113c3c607dba0f672fbd94e95428ae8716ab /Makefile
downloadpreload-slowloris-e45a0409039032c74b3aa851eb308a541264adcd.tar.gz
preload-slowloris-e45a0409039032c74b3aa851eb308a541264adcd.tar.bz2
preload-slowloris-e45a0409039032c74b3aa851eb308a541264adcd.zip
Initial status
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fa8e2fb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+CFLAGS += -fPIC
+LDFLAGS += -shared
+LDLIBS += -ldl
+
+%.so :: %.c
+ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS)
+
+slowloris.so: slowloris.c
+
+all: slowloris.so
+
+clean:
+ $(RM) slowloris.so