diff options
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,10 +2,17 @@ CFLAGS += -fPIC LDFLAGS += -shared LDLIBS += -ldl -%.so : %.c +RM ?= rm -f + +.SUFFIXES: +.SUFFIXES: .c .so + +.c.so: $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS) all: slowloris.so clean: $(RM) slowloris.so + +.PHONY: all clean |