aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 86fb0e5ce12c22aab9f7c2c16302f9403b0231e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS += -fPIC
LDFLAGS += -shared
LDLIBS += -ldl

RM ?= rm -f

.SUFFIXES:
.SUFFIXES: .c .so

.c.so:
	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS)

all: slowloris.so

clean:
	$(RM) slowloris.so

.PHONY: all clean