use ccache if present

This commit is contained in:
Eric House 2014-01-21 07:10:13 -08:00
parent 5ea1a799ec
commit e6564c679c

View file

@ -35,6 +35,10 @@ endif
BUILD_PLAT_DIR = $(BUILD_DIR)/$(PLATFORM)
# CC = llvm-gcc
ifneq ($(shell which ccache),)
CC := ccache $(CC)
CXX := ccache $(CXX)
endif
DO_CURSES = -DPLATFORM_NCURSES
DO_CURSES += -DUSE_GLIBLOOP