diff options
author | Haru <haru@dotalux.com> | 2013-07-18 15:42:53 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-07-21 20:26:46 +0200 |
commit | d627f8f3cdebc07dfc54e762456f477806f0b3cb (patch) | |
tree | 5c5fa31945e2861d256d4bab2dbc2bf0372aa789 /3rdparty/libconfig/Makefile.in | |
parent | 2548a8cee42fae1225cd9ff3266beb4feb13dc83 (diff) | |
download | hercules-d627f8f3cdebc07dfc54e762456f477806f0b3cb.tar.gz hercules-d627f8f3cdebc07dfc54e762456f477806f0b3cb.tar.bz2 hercules-d627f8f3cdebc07dfc54e762456f477806f0b3cb.tar.xz hercules-d627f8f3cdebc07dfc54e762456f477806f0b3cb.zip |
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 <haru@dotalux.com>
Diffstat (limited to '3rdparty/libconfig/Makefile.in')
-rw-r--r-- | 3rdparty/libconfig/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
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) $< |