X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9dbaa1f22054ff5492e793259d5641b876b57ac1..f323e60831f4e1e3c35ae0ed5592e49eb485eeb6:/projects/sgauth/Makefile diff --git a/projects/sgauth/Makefile b/projects/sgauth/Makefile index 6e330c78..5565199b 100644 --- a/projects/sgauth/Makefile +++ b/projects/sgauth/Makefile @@ -18,12 +18,12 @@ STGLIBS = conffiles \ 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) -else +ifneq ($(OS),linux) LIBS += -lintl \ - -lc + -lc \ + -liconv endif SEARCH_DIRS = -I ../../include @@ -90,5 +90,5 @@ deps: $(SRCS) ../../Makefile.conf sgauth.css ./make_css.sh 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