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)