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 -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion
|
---|
20 | OPTIMC = $(OPTIM) -pedantic
|
---|
21 | OPTIMCXX = $(OPTIM) -Woverloaded-virtual
|
---|
22 | # ggc 3.2: removed -fnonnull-objects -Wtraditional -Wnested-externs
|
---|
23 | # -ftime-report -fmem-report
|
---|
24 | DEBUG =
|
---|
25 | ARCHDEF = -D__LINUX__
|
---|
26 | SOFLAG = -shared
|
---|
27 |
|
---|
28 | # For debugging information use '-g'
|
---|
29 | # For producing gmon.out use '-pg' (needs static linking)
|
---|
30 |
|
---|
31 | #MARS_LIB = -Llib $(SUBDIRS:%=-l%) $(MARSLIBS)
|
---|
32 | #MARS_LIB = -Llib $(MARSLIBS) -lmimic $(GLIBLIBS)
|
---|
33 | INCLUDES = -I. $(SUBDIRS:%=-I%) -I/usr/local/include
|
---|
34 |
|
---|
35 | # uncomment this for quiet compilation
|
---|
36 |
|
---|
37 | .SILENT:
|
---|
Note:
See
TracBrowser
for help on using the repository browser.