]> git.stg.codes - stg.git/blobdiff - projects/convertor/Makefile
More correct way to use printf
[stg.git] / projects / convertor / Makefile
index 86acb408a26000fb298cd7655ef8028050150e6d..4417e970133b3859a15f7063d5264401d320395f 100644 (file)
@@ -9,16 +9,16 @@ PROG = convertor
 SRCS = ./main.cpp \
        ./settings_impl.cpp
 
-STGLIBS =  logger \
-           common \
-           dotconfpp \
-          crypto \
-          conffiles
+STGLIBS = dotconfpp \
+         conffiles \
+         logger \
+         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
@@ -71,7 +71,5 @@ deps: $(SRCS) ../../Makefile.conf
        @>deps ;\
        for file in $(SRCS); do\
          echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\
-         echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\
+         printf '%b\n' '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\
        done
-
-