X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..58024dfd7ad59626cc0c4beaf82f5c27c93ea0e3:/projects/sgconf_xml/Makefile?ds=sidebyside diff --git a/projects/sgconf_xml/Makefile b/projects/sgconf_xml/Makefile index 752f05a5..2453ef5c 100644 --- a/projects/sgconf_xml/Makefile +++ b/projects/sgconf_xml/Makefile @@ -10,9 +10,9 @@ SRCS = ./main.cpp \ ./parser.cpp LIBS = -lstgconffiles \ + -lstgsrvconf \ -lstgcrypto \ - -lstgcommon \ - -lstgsrvconf + -lstgcommon LIBS += -lexpat \ $(LIB_THREAD) @@ -41,7 +41,7 @@ OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS)))) CXXFLAGS += -Wall LDFLAGS += -Wl,-E -L$(DIR_LIB) -Wl,-rpath,$(PREFIX)/usr/lib/stg -Wl,-rpath-link,$(DIR_LIB) -vpath %.so $(DIR_LIB) +vpath %.a $(DIR_LIB) .PHONY: all clean distclean libs install uninstall install-bin install-data uninstall-bin uninstall-data all: libs $(PROG) ../../Makefile.conf @@ -50,7 +50,7 @@ libs: $(MAKE) -C $(DIR_LIBSRC) $(PROG): $(OBJS) $(STGLIBS) - $(CC) $^ $(LIBS) $(LDFLAGS) -o $(PROG) + $(CXX) $^ $(LIBS) $(LDFLAGS) -o $(PROG) clean: rm -f deps $(PROG) *.o tags *.*~ .OS