commit a27f24ab20083655946027d3864c4e32a4a6bbe6 parent de72bda4584bb1249084282d4037a267cc08a3bf Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jun 25 15:52:57 +0300 Fix OSX build take six Diffstat:
scripts/gen_makefile.lua | | | 16 | ++++++++-------- |
diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -250,25 +250,25 @@ export PATH := /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/b printf( [[ $(BINS): %%: - @printf "\e[1;31mbuilding $@\e[0m\n" + @printf "\033[1;31mbuilding $@\033[0m\n" @mkdir -p "$(@D)" @cl -Fe$@ $^ $(LDFLAGS) ]] ) printf( [[ %s/%%%s: %%.cc - @printf "\e[1;32mbuilding $<\e[0m\n" + @printf "\033[1;32mbuilding $<\033[0m\n" @mkdir -p "$(@D)" @cl $(CXXFLAGS) -Fo$@ $^ ]], dir, obj_suffix ) printf( [[ $(OBJS): %%: - @printf "\e[1;32mbuilding $<\e[0m\n" + @printf "\033[1;32mbuilding $<\033[0m\n" @mkdir -p "$(@D)" @cl $(CXXFLAGS) -Fo$@ -Tp$< ]] ) printf( [[ %%%s: - @printf "\e[1;35mbuilding $@\e[0m\n" + @printf "\033[1;35mbuilding $@\033[0m\n" @mkdir -p "$(@D)" @lib -OUT:$@ $^ ]], lib_suffix ) @@ -279,25 +279,25 @@ local cxx = rightmost( "cxx" ) printf( [[ $(BINS): %%: - @env printf "\e[1;31mbuilding $@\e[0m\n" + @env printf "\033[1;31mbuilding $@\033[0m\n" @mkdir -p "$(@D)" @%s -o $@ $^ $(LDFLAGS) ]], cxx ) printf( [[ %s/%%%s: %%.cc - @env printf "\e[1;32mbuilding $<\e[0m\n" + @env printf "\033[1;32mbuilding $<\033[0m\n" @mkdir -p "$(@D)" @%s $(CXXFLAGS) -o $@ $< -MMD -MP ]], dir, obj_suffix, cxx ) printf( [[ $(OBJS): %%: - @env printf "\e[1;32mbuilding $<\e[0m\n" + @env printf "\033[1;32mbuilding $<\033[0m\n" @mkdir -p "$(@D)" @%s $(CXXFLAGS) -o $@ $< -MMD -MP ]], cxx ) printf( [[ %%%s: - @env printf "\e[1;35mbuilding $@\e[0m\n" + @env printf "\033[1;35mbuilding $@\033[0m\n" @mkdir -p "$(@D)" @$(AR) rs $@ $^ ]], lib_suffix )