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 /src/char/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 'src/char/Makefile.in')
-rw-r--r-- | src/char/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/char/Makefile.in b/src/char/Makefile.in index a34fc0b31..0c4034a53 100644 --- a/src/char/Makefile.in +++ b/src/char/Makefile.in @@ -28,6 +28,9 @@ endif @SET_MAKE@ +CC = @CC@ +export CC + ##################################################################### .PHONY : all char-server clean help @@ -35,7 +38,7 @@ all: char-server char-server: $(CHAR_SERVER_SQL_DEPENDS) @echo " LD $@" - @@CC@ @LDFLAGS@ -o ../../char-server@EXEEXT@ $(CHAR_OBJ) ../common/obj_sql/common_sql.a ../common/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@ + @$(CC) @LDFLAGS@ -o ../../char-server@EXEEXT@ $(CHAR_OBJ) ../common/obj_sql/common_sql.a ../common/obj_all/common.a $(MT19937AR_OBJ) $(LIBCONFIG_OBJ) @LIBS@ @MYSQL_LIBS@ clean: @echo " CLEAN char" @@ -60,7 +63,7 @@ obj_sql: obj_sql/%.o: %.c $(CHAR_H) $(COMMON_H) $(COMMON_SQL_H) $(MT19937AR_H) $(LIBCONFIG_H) @echo " CC $<" - @@CC@ @CFLAGS@ $(MT19937AR_INCLUDE) $(LIBCONFIG_INCLUDE) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $< + @$(CC) @CFLAGS@ $(MT19937AR_INCLUDE) $(LIBCONFIG_INCLUDE) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $< # missing object files ../common/obj_all/common.a: |