Bug spotted by Raphael.
[u/mrichter/AliRoot.git] / build / Makefile.win32gcc
CommitLineData
d95a3ef8 1# -*- mode: makefile -*-
5c0f7251 2# Makefile to build AliRoot for Linux
3
4# System dependent commands
5
6XARGS = xargs -r
7
5c0f7251 8# Global optimisation
9OPT = -O -g
10NOOPT = -g
11
12CXXOPT = $(OPT)
13CXXNOOPT = $(NOOPT)
14COPT = $(OPT)
15FOPT = $(OPT)
16
17# CERNLIB defines
18CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
19CLIBCXXOPTS =
20CLIBCOPT =
21CLIBFOPT = $(CLIBDEFS)
22
23# Compiler flags
ad2f2da2 24CXXFLAGS = $(OPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
25CXXFLAGSNO = $(NOOPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
5c0f7251 26CFLAGS = $(OPT) -Wall -D_DLL
27FFLAGS = $(CLIBFOPT) $(FOPT) -fno-second-underscore
28# rmkdepend flags for building dependencies of FORTRAN files
29DEPENDFFLAGS = $(FFLAGS)
30
31# rootcint flags
32CINTFLAGS =
33
5f30d16c 34LD = $(shell root-config --ld)
5c0f7251 35LDFLAGS = $(OPT)
36
37SHLD = $(LD)
38SOFLAGS = $(OPT) -shared -Wl,--export-all-symbols -Wl,-soname=$$TMPLIB -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
39SHLIB = $(shell root-config --libs) -lg2c
40SOEXT = dll
41
42ALLD = ar
43ALFLAGS = cr
44ALLIB =
45AEXT = a
46
47# additional ROOT libraries
48
49#System libraries
50SYSLIBS := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11
51
52
53
54
55