added -ldl dependency
This commit is contained in:
parent
c3e89e6e7d
commit
bf1b16dae9
8
Makefile
8
Makefile
@ -1,5 +1,7 @@
|
|||||||
BIN := $(shell basename $$(pwd))
|
BIN := $(shell basename $$(pwd))
|
||||||
PLUGINS := rect
|
PLUGINS := rects
|
||||||
|
|
||||||
|
MAKE += --no-print-directory
|
||||||
|
|
||||||
MANSECTION := 1
|
MANSECTION := 1
|
||||||
MANPAGE := $(BIN).$(MANSECTION)
|
MANPAGE := $(BIN).$(MANSECTION)
|
||||||
@ -28,11 +30,11 @@ else
|
|||||||
CXXFLAGS += -D NDEBUG -O3
|
CXXFLAGS += -D NDEBUG -O3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDLIBS := -lm -lpthread -lscgui -lSDL2 -lcairo -lscerror -lscstring
|
LDLIBS := -lm -lpthread -lscgui -lSDL2 -lcairo -lscerror -lscstring -lscscreensaver -ldl
|
||||||
|
|
||||||
.PHONY: all clean install modules
|
.PHONY: all clean install modules
|
||||||
|
|
||||||
all: $(BIN) $(PLUGINS)
|
all: $(BIN) modules
|
||||||
|
|
||||||
$(BIN): $(OBJS) $(DEPS)
|
$(BIN): $(OBJS) $(DEPS)
|
||||||
$(CXX) $(OBJS) $(LDFLAGS) $(LDLIBS) -o $(BIN)
|
$(CXX) $(OBJS) $(LDFLAGS) $(LDLIBS) -o $(BIN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user