Browse Source

makefile: allow CC to be replaced
this allows building with clang by doing:
CC=clang PREFIX=llvm- make

Steffen Jaeckel 12 years ago
parent
commit
3eae4b42fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makefile

+ 1 - 1
makefile

@@ -13,7 +13,7 @@ ifndef PREFIX
   PREFIX=
 endif
 
-CC=$(PREFIX)gcc
+CC?=$(PREFIX)gcc
 LD=$(PREFIX)ld
 AR=$(PREFIX)ar