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