freemyipod r461 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r460‎ | r461 | r462 >
Date:20:45, 21 January 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Makefile: Use ccache if present
Modified paths:
  • /emcore/trunk/Makefile (modified) (history)

Diff [purge]

Index: emcore/trunk/Makefile
@@ -1,7 +1,13 @@
22 NAME := emcore
33
 4+ifeq ($(shell uname),WindowsNT)
 5+CCACHE :=
 6+else
 7+CCACHE := $(shell which ccache)
 8+endif
 9+
410 CROSS ?= arm-elf-eabi-
5 -CC := $(CROSS)gcc
 11+CC := $(CCACHE) $(CROSS)gcc
612 AS := $(CROSS)as
713 LD := $(CROSS)ld
814 OBJCOPY := $(CROSS)objcopy