From bf1b16dae9a11db1e752042ce757407edada8cb2 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Tue, 27 Oct 2020 17:18:33 +0100 Subject: [PATCH] added -ldl dependency --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c985c1c..3e4d1bd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ BIN := $(shell basename $$(pwd)) -PLUGINS := rect +PLUGINS := rects + +MAKE += --no-print-directory MANSECTION := 1 MANPAGE := $(BIN).$(MANSECTION) @@ -28,11 +30,11 @@ else CXXFLAGS += -D NDEBUG -O3 endif -LDLIBS := -lm -lpthread -lscgui -lSDL2 -lcairo -lscerror -lscstring +LDLIBS := -lm -lpthread -lscgui -lSDL2 -lcairo -lscerror -lscstring -lscscreensaver -ldl .PHONY: all clean install modules -all: $(BIN) $(PLUGINS) +all: $(BIN) modules $(BIN): $(OBJS) $(DEPS) $(CXX) $(OBJS) $(LDFLAGS) $(LDLIBS) -o $(BIN)