commit 6b657d96aa0abd2696c0de77b9aaad3de5617023 parent 7131042a2d622b11130640a39c0dcf644f542d0f Author: Michael Savage <mikejsavage@gmail.com> Date: Sun May 8 22:22:28 +0100 Echo "building x", with colours! Diffstat:
rules.mk | | | 3 | +++ |
diff --git a/rules.mk b/rules.mk @@ -2,6 +2,7 @@ # Create the binaries $(BINS): %: + @echo -e "\e[1;31mbuilding $@\e[0m" $(CXX) -o $@ $^ $(LDFLAGS) # Create stb_*.cc and then stb_*.o @@ -20,11 +21,13 @@ $(STB_OBJS): %.o: %.cc # Build the game modules $(MODULES): %.so: $(COMMON_OBJS) + @echo -e "\e[1;33mbuilding $@\e[0m" $(CXX) -o $@ $^ $(LDFLAGS) -shared # Build *.o from *.cc # The -M* stuff is for generating dependency lists %.o: %.cc + @echo -e "\e[1;32mbuilding $<\e[0m" $(CXX) -c -o $@ $< -MMD -MP -MF .deps/$(subst /,_,$*).d $(CXXFLAGS) clean: