| 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 -src
|
|---|
| 18 |
|
|---|
| 19 | #
|
|---|
| 20 | # ----->>> settings for compilation
|
|---|
| 21 | #
|
|---|
| 22 | OPTIM = -O -Wall -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 |
|
|---|
| 27 | # For Mac OSX we need to kind of shared objects. One which can be plugged
|
|---|
| 28 | # into root (bundle) and one which can be linked to the executables (dynlib)
|
|---|
| 29 | SOFLAG = -bundle -flat_namespace -Xlinker -bind_at_load
|
|---|
| 30 | DYFLAG = -dynamiclib -single_module -flat_namespace
|
|---|
| 31 |
|
|---|
| 32 | DYLIB = $(SOLIB:.so=.dylib)
|
|---|
| 33 |
|
|---|
| 34 | # For debugging information use '-g'
|
|---|
| 35 | # For producing gmon.out use '-pg'
|
|---|
| 36 |
|
|---|
| 37 | #MARS_LIB = -Llib $(SUBDIRS:%=-l%) $(MARSLIBS)
|
|---|
| 38 | MARS_LIB = -Llib $(MARSLIBS)
|
|---|
| 39 | INCLUDES = -I. $(SUBDIRS:%=-I%)
|
|---|
| 40 |
|
|---|
| 41 | # uncomment this for quiet compilation
|
|---|
| 42 |
|
|---|
| 43 | .SILENT:
|
|---|
| 44 |
|
|---|
| 45 | # @endcode
|
|---|
| 46 | ##EOF
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.