X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7ff01d4395b25b73c3c329432ae47aa64b3e3ecf..daf813b21793e76a3bd318795d06db6040ff7b2c:/projects/rlm_stg/Makefile diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index 635a572f..a22902cf 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -11,13 +11,13 @@ PROG = $(LIB_NAME).so SRCS = ./rlm_stg.cpp \ ./stg_client.cpp -STGLIBS = common \ - crypto - +STGLIBS = crypto \ + common + STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS))) STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS))) -LIBS += $(LIB_THREAD) $(addprefix -lstg,$(STGLIBS)) +LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) ifeq ($(OS),linux) LIBS += -ldl @@ -79,5 +79,3 @@ deps: $(SRCS) ../../Makefile.conf echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ done - -