diff options
Diffstat (limited to 'plugins/webbox/Makefile')
-rw-r--r-- | plugins/webbox/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/webbox/Makefile b/plugins/webbox/Makefile index 4be08d1..5e4dab8 100644 --- a/plugins/webbox/Makefile +++ b/plugins/webbox/Makefile @@ -7,7 +7,6 @@ CXXFLAGS+= -fvisibility=hidden -fPIC CXXFLAGS+= -I../.. LDLIBS=\ --lcommon \ -lboost_context \ -lboost_coroutine \ -lboost_program_options \ @@ -19,8 +18,6 @@ LDLIBS=\ -lssl -lcrypto \ -ldl -LDFLAGS+=-L../../libcommon - PROGSRC=\ webbox.cpp @@ -28,12 +25,9 @@ SRC=$(PROGSRC) all: $(PROJECTNAME).so -$(PROJECTNAME).so: ../../libcommon/libcommon.a $(SRC:.cpp=.o) +$(PROJECTNAME).so: $(SRC:.cpp=.o) $(CXX) $(LDFLAGS) $^ -shared $(LDLIBS) $(LIBS) -o $@ -../../libcommon/libcommon.a: - cd ../.. && $(MAKE) libcommon/libcommon.a - %.d: %.cpp $(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $< |