From d627f8f3cdebc07dfc54e762456f477806f0b3cb Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 18 Jul 2013 15:42:53 +0200 Subject: Changed CC to a Makefile variable - This allows the user to override the compiler at each make invocation (i.e. to run scripts to generate .clang_complete for https://github.com/Rip-Rip/clang_complete ) - Updated .gitignore with a few platform-dependent entries Signed-off-by: Haru --- 3rdparty/libconfig/Makefile.in | 5 ++++- 3rdparty/mt19937ar/Makefile.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to '3rdparty') diff --git a/3rdparty/libconfig/Makefile.in b/3rdparty/libconfig/Makefile.in index ee17298b4..f3c6e986d 100644 --- a/3rdparty/libconfig/Makefile.in +++ b/3rdparty/libconfig/Makefile.in @@ -4,6 +4,9 @@ LIBCONFIG_H = libconfig.h grammar.h parsectx.h scanctx.h scanner.h strbuf.h winc @SET_MAKE@ +CC = @CC@ +export CC + ##################################################################### .PHONY : all clean help @@ -23,4 +26,4 @@ help: %.o: %.c $(LIBCONFIG_H) @echo " CC $<" - @@CC@ @CFLAGS@ @DEFS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $< + @$(CC) @CFLAGS@ @DEFS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $< diff --git a/3rdparty/mt19937ar/Makefile.in b/3rdparty/mt19937ar/Makefile.in index 8a7b64669..b899c413f 100644 --- a/3rdparty/mt19937ar/Makefile.in +++ b/3rdparty/mt19937ar/Makefile.in @@ -4,6 +4,9 @@ MT19937AR_H = mt19937ar.h @SET_MAKE@ +CC = @CC@ +export CC + ##################################################################### .PHONY : all clean help @@ -23,4 +26,4 @@ help: %.o: %.c $(MT19937AR_H) @echo " CC $<" - @@CC@ @CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $< + @$(CC) @CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $< -- cgit v1.2.3-60-g2f50