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
|
---|
15 | CXX = g++
|
---|
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 |
|
---|
26 | # To be tested:
|
---|
27 | # OPTIM = -pipe
|
---|
28 | # OPTIM2 = -fomit-frame-pointer -ffast-math -march=i686 -mcpu=i686
|
---|
29 |
|
---|
30 | # For debugging information use '-g'
|
---|
31 | # For producing gmon.out use '-pg'
|
---|
32 |
|
---|
33 | MARS_LIB = -Llib $(SUBDIRS:%=-l%) $(MARSLIBS)
|
---|
34 | INCLUDES = -I. $(SUBDIRS:%=-I%)
|
---|
35 |
|
---|
36 | # uncomment this for quiet compilation
|
---|
37 |
|
---|
38 | .SILENT:
|
---|
39 |
|
---|
40 | # @endcode
|
---|
41 | ##EOF
|
---|
42 |
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.