summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-07-18 15:42:53 +0200
committerHaru <haru@dotalux.com>2013-07-21 20:26:46 +0200
commitd627f8f3cdebc07dfc54e762456f477806f0b3cb (patch)
tree5c5fa31945e2861d256d4bab2dbc2bf0372aa789 /src/plugins
parent2548a8cee42fae1225cd9ff3266beb4feb13dc83 (diff)
downloadhercules-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 'src/plugins')
-rw-r--r--src/plugins/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/Makefile.in b/src/plugins/Makefile.in
index 3c80fa0e1..98f18f4d4 100644
--- a/src/plugins/Makefile.in
+++ b/src/plugins/Makefile.in
@@ -5,6 +5,9 @@ PLUGINS = sample db2sql
@SET_MAKE@
+CC = @CC@
+export CC
+
#####################################################################
.PHONY : all $(PLUGINS) sample db2sql clean help
@@ -27,4 +30,4 @@ help:
%@DLLEXT@: %.c $(COMMON_H)
@echo " CC $<"
- @@CC@ @DEFS@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o ../../plugins/$@ $< \ No newline at end of file
+ @$(CC) @DEFS@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o ../../plugins/$@ $<