From b30fde8b21274e29d54b54a4177785add0f1017e Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 19 May 2008 13:36:32 +0000 Subject: Use CCACHE if available on non-riscos host platforms svn path=/trunk/netsurf/; revision=4179 --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dd01454e3..3dbd983f9 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,13 @@ LDFLAGS := -Xlinker -symbols=$(OBJROOT)/sym -lxml2 -lz -lm -lcurl -lssl -lcrypto else LDFLAGS := $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl) LDFLAGS += -lz -lm -lmng -ljpeg + +CCACHE := $(shell which ccache) + +ifneq ($(CCACHE),) +CC := $(CCACHE) $(CC) +endif + endif ifeq ($(TARGET),gtk) -- cgit v1.2.3