| 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 | #
|
|---|
| 20 | # ----->>> settings for compilation
|
|---|
| 21 | #
|
|---|
| 22 | OPTIM = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
|
|---|
| 23 | # ggc 3.2: removed -fnonnull-objects -Wtraditional -Wnested-externs
|
|---|
| 24 | DEBUG =
|
|---|
| 25 | ARCHDEF = -D__LINUX__
|
|---|
| 26 | DYNLIB = -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)
|
|---|
| 33 | INCLUDES = -I. $(SUBDIRS:%=-I%)
|
|---|
| 34 |
|
|---|
| 35 | # uncomment this for quiet compilation
|
|---|
| 36 |
|
|---|
| 37 | .SILENT:
|
|---|
| 38 |
|
|---|
| 39 | # @endcode
|
|---|
| 40 | ##EOF
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.