No effective C++ option for compilation of C files
[u/mrichter/AliRoot.git] / build / Makefile.linuxx8664gcc
CommitLineData
72b92279 1# Makefile for AliRoot for Itanium/Linux with gcc
2
6a772515 3# System dependent commands
4
5XARGS = xargs -r
6
72b92279 7# The compilers
8CXX = g++
9F77 = g77
10CC = gcc
11
12# Global optimisation
13OPT = -g #-O
14NOOPT = -g
15
16CXXOPT = $(OPT)
17CXXNOOPT = $(NOOPT)
18COPT = $(OPT)
19FOPT = $(OPT)
20
21# CERNLIB defines
22CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
23CLIBCXXOPTS =
24CLIBCOPT =
25CLIBFOPT = $(CLIBDEFS)
26
27# Compiler flags
28CXXFLAGS = $(CXXOPT) -Wall -fPIC -pipe
29CXXFLAGSNO = $(CXXNOOPT) -Wall -fPIC -pipe
30CFLAGS = -Wall -fPIC -pipe
31FFLAGS = $(CLIBFOPT) $(FOPT) -fno-second-underscore -fPIC
32# rmkdepend flags for building dependencies of FORTRAN files
33DEPENDFFLAGS = $(FFLAGS)
34
35# rootcint flags
36CINTFLAGS =
37
38LD = g++
39LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
40
41SHLD = $(LD)
42SOFLAGS = -shared -Wl #-O2
43SOEXT = so
44
45ALLD = ar
46ALFLAGS = cr
47ALLIB =
48AEXT = a
49
50# additional ROOT libraries
72b92279 51
4c461f53 52LIBNOVER = `find /lib64 -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib64/ -l/'`
72b92279 53
54#System libraries
de6c7cfd 55SYSLIBS := -ldl -lcrypt -L/usr/X11R6/lib64 -lX11 $(LIBNOVER)
72b92279 56
de6c7cfd 57EXEFLAGS := -lg2c
72b92279 58
59
60
61