From 33ec943e8bf1a33bd4a79f7a5713afca94f6c013 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Thu, 20 Oct 2022 23:16:11 +0200 Subject: [PATCH] Fix Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 625781d..0a60b3c 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,10 @@ bin/lib/%.o: src/lib/%.c bin/libsesimos.so: bin/lib/cache.o bin/lib/compress.o bin/lib/config.o bin/lib/fastcgi.o bin/lib/geoip.o \ bin/lib/http.o bin/lib/http_static.o bin/lib/rev_proxy.o bin/lib/sock.o bin/lib/uri.o \ bin/lib/utils.o bin/lib/websocket.o - $(CC) -o $@ --shared -fPIC $(CFLAGS) $(LIBS) $^ + $(CC) -o $@ --shared -fPIC $(CFLAGS) $^ $(LIBS) bin/sesimos: bin/server.o bin/client.o - $(CC) -o $@ $^ $(LIBS) -Lbin -lsesimos -Wl,-rpath=$(shell pwd)/bin + $(CC) -o $@ $^ $(CFLAGS) -Lbin -lsesimos -Wl,-rpath=$(shell pwd)/bin $(LIBS) bin/server.o: src/server.c src/server.h src/defs.h src/client.h src/lib/cache.h src/lib/config.h src/lib/sock.h \ @@ -72,4 +72,4 @@ permit: sudo setcap 'cap_net_bind_service=+ep' "$(shell pwd)/bin/sesimos" clean: - rm -rf sesimos bin/* + rm -rf bin/*