X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5a142737faacf1a56c8f57e032244ef66cc2f27e..39c6313308afb248b140d98b8052f1b484549df2:/stglibs/Makefile.in?ds=sidebyside 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