X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5a142737faacf1a56c8f57e032244ef66cc2f27e..79a8ef3a60523ccbd2e0714407a209a156c93b2d:/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