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

Last change on this file since 14890 was 12753, checked in by tbretz, 13 years ago
Added the option to switch the compiler to c++0x mode to make everything compile again. Note that this and the latest changes breaks compiling on older systems.
File size: 827 bytes
Line 
1##################################################################
2#
3# config.mk
4#
5# @file config.mk
6#
7##################################################################
8
9# compilers
10
11CC := gcc
12CXX := g++
13F77 := f77
14AR := ar -rc
15
16#
17# ----->>> settings for compilation
18#
19OPTIM := -O5 -std=c++0x -Wall -Winit-self -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Woverloaded-virtual
20# ggc 4.3: removed -Wshadow -fnonnull-objects -Wtraditional -Wnested-externs -Wconversion
21DEBUG :=
22ARCHDEF := -D__LINUX__
23SOFLAG := -shared
24
25# For debugging information use '-g'
26# For producing gmon.out use '-pg' (needs static linking)
27
28#MARS_LIB = -Llib $(SUBDIRS:%=-l%) $(MARSLIBS)
29MARS_LIB := -Llib $(MARSLIBS)
30INCLUDES = -I. $(SUBDIRS:%=-I%)
31
32# uncomment this for quiet compilation
33
34.SILENT:
Note: See TracBrowser for help on using the repository browser.