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...
#
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)