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 -Wall -Winit-self -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Woverloaded-virtual
|
---|
20 | # ggc 3.2: removed -Wshadow -fnonnull-objects -Wtraditional -Wnested-externs
|
---|
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.