commit 13f2c992145035e505fb93e9bf1f5d974bfe4b74 parent a3a5ac310c06424cb52e5c52a53b2507702abd58 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat May 13 15:32:26 +0300 Fix make colours on Void Diffstat:
scripts/gen_makefile.lua | | | 8 | ++++---- |
diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -238,25 +238,25 @@ else printf( [[ $(BINS): %%: - @printf "\e[1;31mbuilding $@\e[0m\n" + @env printf "\e[1;31mbuilding $@\e[0m\n" @mkdir -p "$(@D)" @$(CXX) -o $@ $^ $(LDFLAGS) ]] ) printf( [[ %s/%%%s: %%.cc - @printf "\e[1;32mbuilding $<\e[0m\n" + @env printf "\e[1;32mbuilding $<\e[0m\n" @mkdir -p "$(@D)" @$(CXX) $(CXXFLAGS) -o $@ $< -MMD -MP ]], dir, obj_suffix ) printf( [[ $(OBJS): %%: - @printf "\e[1;32mbuilding $<\e[0m\n" + @env printf "\e[1;32mbuilding $<\e[0m\n" @mkdir -p "$(@D)" @$(CXX) $(CXXFLAGS) -o $@ $< -MMD -MP ]] ) printf( [[ %%%s: - @printf "\e[1;35mbuilding $@\e[0m\n" + @env printf "\e[1;35mbuilding $@\e[0m\n" @mkdir -p "$(@D)" @$(AR) rs $@ $^ ]], lib_suffix )