diff options
author | cbdev <cb@cbcdn.com> | 2025-03-28 12:55:31 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2025-03-28 12:55:31 +0100 |
commit | 174ea72837225ea4f69b643afc7dbf81413d9a61 (patch) | |
tree | 13275809ec79cdbdf4d30fac53ba81b5a8534e81 | |
parent | aa43a7cbb02047b0ac19920149a8459f204fc1e3 (diff) | |
download | preload-slowloris-174ea72837225ea4f69b643afc7dbf81413d9a61.tar.gz preload-slowloris-174ea72837225ea4f69b643afc7dbf81413d9a61.tar.bz2 preload-slowloris-174ea72837225ea4f69b643afc7dbf81413d9a61.zip |
Make makefile more compatible (h/t nimaje)
-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 |