Last change
on this file since 14448 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 |
|
---|
11 | CC := gcc
|
---|
12 | CXX := g++
|
---|
13 | F77 := f77
|
---|
14 | AR := ar -rc
|
---|
15 |
|
---|
16 | #
|
---|
17 | # ----->>> settings for compilation
|
---|
18 | #
|
---|
19 | OPTIM := -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
|
---|
21 | DEBUG :=
|
---|
22 | ARCHDEF := -D__LINUX__
|
---|
23 | SOFLAG := -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)
|
---|
29 | MARS_LIB := -Llib $(MARSLIBS)
|
---|
30 | INCLUDES = -I. $(SUBDIRS:%=-I%)
|
---|
31 |
|
---|
32 | # uncomment this for quiet compilation
|
---|
33 |
|
---|
34 | .SILENT:
|
---|
Note:
See
TracBrowser
for help on using the repository browser.