]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.win32gcc
reduce size on disk for storing PDF nodes
[u/mrichter/AliRoot.git] / build / Makefile.win32gcc
index 34af76da1ff7646e09121b885b7735bb6197d971..d15e74e0662e110a0c03c30739bca631dad3a547 100644 (file)
@@ -1,16 +1,10 @@
+# -*- mode: makefile -*-
 # Makefile to build AliRoot for Linux
 
 # System dependent commands
 
 XARGS = xargs -r
 
-# The compilers
-CXX           = g++ 
-F77          = g77
-CC           = gcc
-CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
-CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
-
 # Global optimisation
 OPT           = -O -g
 NOOPT         = -g
@@ -27,8 +21,8 @@ CLIBCOPT      =
 CLIBFOPT      = $(CLIBDEFS)
 
 # Compiler flags
-CXXFLAGS       = $(OPT) -Wall -pipe -Woverloaded-virtual -D_DLL
-CXXFLAGSNO     = $(NOOPT) -Wall -pipe -Woverloaded-virtual -D_DLL
+CXXFLAGS       = $(OPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
+CXXFLAGSNO     = $(NOOPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
 CFLAGS        = $(OPT) -Wall -D_DLL
 FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore
 # rmkdepend flags for building dependencies of FORTRAN files
@@ -37,7 +31,7 @@ DEPENDFFLAGS   = $(FFLAGS)
 # rootcint flags
 CINTFLAGS     = 
 
-LD            = g++
+LD            = $(shell root-config --ld)
 LDFLAGS       = $(OPT) 
 
 SHLD         = $(LD)