From: Shamus Hammons Date: Tue, 3 Feb 2009 03:37:34 +0000 (+0000) Subject: Colorized Makefile. Whee! X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=ttedit;a=commitdiff_plain;h=72ee24a9cf364cfbf32b878172eea5f6ad2676c3 Colorized Makefile. Whee! --- diff --git a/Makefile b/Makefile index 59b61f9..2f25505 100755 --- a/Makefile +++ b/Makefile @@ -105,32 +105,32 @@ obj: checkenv: @echo - @echo -n "*** Checking compilation environment... " + @echo -en "\033[01;33m***\033[00;32m Checking compilation environment... \033[00m" ifeq "" "$(shell which wx-config)" @echo @echo - @echo "It seems that you don't have the wxWidget development libraries installed." - @echo "If you have installed them, make sure that the wx-config file is somewhere" - @echo "in your path and is executable." + @echo -e "\033[01;33mIt seems that you don't have the wxWidget development libraries installed." + @echo -e "If you have installed them, make sure that the wx-config file is somewhere" + @echo -e "in your path and is executable.\033[00m" @echo #Is there a better way to break out of the makefile? # @break @breakola! else - @echo "OK" + @echo -e "\033[01;37mOK\033[00m" endif message: # @echo - @echo "*** Building TTEdit for $(MSG)..." + @echo -e "\033[01;33m***\033[00;32m Building TTEdit for $(MSG)...\033[00m" @echo clean: - @echo -n "*** Cleaning out the garbage..." + @echo -en "\033[01;33m***\033[00;32m Cleaning out the garbage...\033[00m" @rm -rf ./obj - @rm -f $(BIN_PROGRAM) + @rm -f ./$(TARGET)$(EXESUFFIX) # rm -rf bombs.app - @echo "done!" + @echo -e "\033[01;37mdone!\033[00m" ## This is only done for Win32 at the moment... # @@ -144,16 +144,16 @@ clean: ifneq "" "$(ICON)" $(RES_PROGRAM_OBJ): res/$(PROGRAM).rc res/$(PROGRAM).ico - @echo "*** Processing icon..." + @echo -e "\033[01;33m***\033[00;32m Processing icon...\033[00m" @$(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ --include-dir ./res --define WXUSINGDLL --include-dir $(top_srcdir)/include/wx-2.6 endif obj/%.o: $(srcdir)/%.cpp - @echo "*** Compiling $<..." + @echo -e "\033[01;33m***\033[00;32m Compiling $<...\033[00m" @$(CXX) -c -o $@ $(INCS) $(CXXFLAGS) $< $(BIN_PROGRAM): $(OBJECTS) $(RES_PROGRAM_OBJ) - @echo "*** Linking it all together..." + @echo -e "\033[01;33m***\033[00;32m Linking it all together...\033[00m" @$(CXX) -o $@ $(OBJECTS) $(RES_PROGRAM_OBJ) $(LIBS) # $(_mac_rezcmd) # $(_mac_setfilecmd) diff --git a/src/editwindow.cpp b/src/editwindow.cpp index f617f3d..a115f96 100755 --- a/src/editwindow.cpp +++ b/src/editwindow.cpp @@ -24,6 +24,7 @@ // point on screen // - Add poly multi-select // - Add point multi-select +// - Undo system // // Uncomment this for debugging...