X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5a142737faacf1a56c8f57e032244ef66cc2f27e..8e8c6cdddc6af0a1e7ebcd7fa947395b66bf1103:/stglibs/Makefile.in diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index 8c97fae8..a3184974 100644 --- a/stglibs/Makefile.in +++ b/stglibs/Makefile.in @@ -58,12 +58,12 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "$$file" | grep ".c$$" > /dev/null;\ - if [ $$? == 0 ];\ + if [ $$? -eq 0 ];\ then\ echo "`$(CC) $(CFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CC) $(CFLAGS) -c $$<' >> deps ;\ + printf '%b\n' '\t$$(CC) $(CFLAGS) -c $$<' >> deps ;\ else\ echo "`$(CXX) $(CXXFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CXX) $(CXXFLAGS) -c $$<' >> deps ;\ + printf '%b\n' '\t$$(CXX) $(CXXFLAGS) -c $$<' >> deps ;\ fi;\ done