From edcec9fa9086599d56bffe7fdb2c1f05ae7a3ad8 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 2 Jun 2019 15:45:12 +0200 Subject: File backend peer query --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index c389148..20b6579 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ .PHONY: all clean plugins -PLUGINPATH=plugins/ +PLUGINPATH?=plugins/ CFLAGS=-g -Wall -Wpedantic -DPLUGINS=\"$(PLUGINPATH)\" LDLIBS=-lnettle -ldl @@ -11,8 +11,9 @@ all: websocksy plugins: $(MAKE) -C plugins +websocksy: LDFLAGS += -Wl,-export-dynamic websocksy: websocksy.c websocksy.h $(OBJECTS) plugins - $(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(OBJECTS) + $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) $< -o $@ $(OBJECTS) clean: $(RM) $(OBJECTS) -- cgit v1.2.3