Last change
on this file since 18526 was 18526, checked in by dbaack, 8 years ago |
Bugfixes and gcc-5 compability changes
|
File size:
953 bytes
|
Line | |
---|
1 | ##################################################################
|
---|
2 | #
|
---|
3 | # config.mk
|
---|
4 | #
|
---|
5 | # @file config.mk
|
---|
6 | #
|
---|
7 | ##################################################################
|
---|
8 | # @maintitle
|
---|
9 |
|
---|
10 | # @code
|
---|
11 |
|
---|
12 | # compilers
|
---|
13 |
|
---|
14 | CC = gcc-4.8
|
---|
15 | CXX = g++-4.8
|
---|
16 | F77 = f77
|
---|
17 | AR = ar -rc
|
---|
18 | #
|
---|
19 | # ----->>> settings for compilation
|
---|
20 | #
|
---|
21 |
|
---|
22 | OPTIM = -O5 -Wall -fno-rtti -fnonnull-objects -fno-exceptions -fPIC -Wtraditional -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual
|
---|
23 | DEBUG =
|
---|
24 | ARCHDEF = -D__LINUX__
|
---|
25 | DYNLIB = -shared
|
---|
26 |
|
---|
27 | # To be tested:
|
---|
28 | # OPTIM = -pipe
|
---|
29 | # OPTIM2 = -fomit-frame-pointer -ffast-math -march=i686 -mcpu=i686
|
---|
30 |
|
---|
31 | # For debugging information use '-g'
|
---|
32 | # For producing gmon.out use '-pg'
|
---|
33 |
|
---|
34 | #MARS_LIB = -Llib $(SUBDIRS:%=-l%) $(MARSLIBS)
|
---|
35 | MARS_LIB = -Llib $(MARSLIBS)
|
---|
36 | INCLUDES = -I. $(SUBDIRS:%=-I%)
|
---|
37 |
|
---|
38 | # uncomment this for quiet compilation
|
---|
39 |
|
---|
40 | .SILENT:
|
---|
41 |
|
---|
42 | # @endcode
|
---|
43 | ##EOF
|
---|
44 |
|
---|
45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.