source: trunk/Mars/Makefile.conf.linux@ 17728

Last change on this file since 17728 was 17247, checked in by tbretz, 11 years ago
Added a check for its existance and potentially use colorgcc
File size: 929 bytes
Line 
1##################################################################
2#
3# config.mk
4#
5# @file config.mk
6#
7##################################################################
8
9# compilers
10
11ifeq ($(shell which colorgcc), )
12CC := gcc
13CXX := g++
14else
15CC := colorgcc
16CXX := colorgcc
17endif
18
19LINKER := g++
20F77 := f77
21AR := ar -rc
22
23#
24# ----->>> settings for compilation
25#
26OPTIM := -O5 -std=c++0x -Wall -Winit-self -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Woverloaded-virtual
27# ggc 4.3: removed -Wshadow -fnonnull-objects -Wtraditional -Wnested-externs -Wconversion
28DEBUG :=
29ARCHDEF := -D__LINUX__
30SOFLAG := -shared
31
32# For debugging information use '-g'
33# For producing gmon.out use '-pg' (needs static linking)
34
35#MARS_LIB = -Llib $(SUBDIRS:%=-l%) $(MARSLIBS)
36MARS_LIB := -Llib $(MARSLIBS)
37INCLUDES = -I. $(SUBDIRS:%=-I%)
38
39# uncomment this for quiet compilation
40
41.SILENT:
Note: See TracBrowser for help on using the repository browser.