X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7ff01d4395b25b73c3c329432ae47aa64b3e3ecf..4d5dff7b4570cffaa3520f8d8ef8fd9f30be7524:/projects/sgauthstress/Makefile diff --git a/projects/sgauthstress/Makefile b/projects/sgauthstress/Makefile index 174c31a2..f688cffa 100644 --- a/projects/sgauthstress/Makefile +++ b/projects/sgauthstress/Makefile @@ -8,15 +8,15 @@ SRCS = main.cpp \ user.cpp \ proto.cpp -STGLIBS = crypto \ - common \ - dotconfpp \ - locker +STGLIBS = dotconfpp \ + locker \ + 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 @@ -67,5 +67,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '%b\n' '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ done