From d04979df092f93e2e0031b0d866afff418994e05 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 21 Oct 2014 09:37:50 +0100 Subject: Fix some small bugs in the makefile template. - GCC in C++ mode should be called g++ not gcc. - ICC in C++ mode should be called icpc not icc. --- make/template/main.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/template/main.mk') diff --git a/make/template/main.mk b/make/template/main.mk index e55e36c0a..f88a80e3a 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -50,7 +50,7 @@ INSTMODE_DIR = 0755 INSTMODE_BIN = 0755 INSTMODE_LIB = 0644 -@IFEQ $(CC) icc +@IFEQ $(CC) icpc CXXFLAGS += -Wshadow @ELSE CXXFLAGS += -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute -Wall @@ -91,7 +91,7 @@ INSTMODE_LIB = 0644 DBGOK=0 @IFEQ $(D) 0 CXXFLAGS += -O2 -@IFEQ $(CC) gcc +@IFEQ $(CC) g++ CXXFLAGS += -g1 @ENDIF HEADER = std-header -- cgit v1.2.3