SRCS = ./main.cpp \
./settings_impl.cpp
-STGLIBS = -lstg_logger \
- -lstg_common \
+STGLIBS = -lstglogger \
+ -lstgcommon \
-ldotconfpp \
- -lstg_crypto
+ -lstgcrypto
LIBS += $(LIB_THREAD)
CXXFLAGS += -Wall
LDFLAGS += -Wl,-E -L$(DIR_LIB) -Wl,-rpath,$(DIR_LIB)
-vpath %.so $(DIR_LIB)
+vpath %.a $(DIR_LIB)
.PHONY: all clean distclean libs plugins install uninstall
all: libs plugins $(PROG) ../../Makefile.conf
$(MAKE) -C $(DIR_PLUGINS)
$(PROG): $(OBJS) $(STGLIBS)
- $(CC) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
+ $(CXX) $^ $(LDFLAGS) $(LIBS) -o $(PROG)
clean:
rm -f deps $(PROG) *.o tags *.*~ .OS