]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.macosx
Updated the diff and plot methods. For debug purposes, can now limit the number
[u/mrichter/AliRoot.git] / build / Makefile.macosx
index cc113e0d4d1d718a8961baff02b92d7e04518b8d..3313be98e634a58c0bb327e642b2c1d86d72cbd7 100644 (file)
@@ -1,5 +1,7 @@
 # Makefile for AliRoot for MacOS X with gcc
 
+XARGS = xargs
+
 # OS version
 MACOSX_MAJOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 1))
 MACOSX_MINOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2))
@@ -23,7 +25,7 @@ endif
 
 # Global optimisation
 OPT           = -O -g
-NOOPT         = -g
+NOOPT         = -O0 -g
 
 CXXOPT        = $(OPT) 
 CXXNOOPT      = $(NOOPT) 
@@ -39,17 +41,19 @@ CLIBCXXOPTS   =
 CLIBCOPT      =
 CLIBFOPT      = $(CLIBDEFS)
 
+CXXSTF        =  -pipe -Wall -W -Wno-long-double -pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -Woverloaded-virtual -Weffc++ -Wconversion -fno-default-inline -fno-inline -I/usr/X11R6/include -I$(FINK_ROOT)/include
+
 # Compiler flags
-CXXFLAGS      = $(CXXOPT)   -Wall -W -Wno-long-double -pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -I$(FINK_ROOT)/include -Woverloaded-virtual #-Weffc++ 
+CXXFLAGS      = $(CXXOPT) $(CXXSTF) -Weffc++
 
 ifeq (g95,$(findstring g95,$(ROOTBUILD)))
 CXXFLAGS+=-DFORTRAN_G95
 endif
-CXXFLAGSNO    = $(CXXNOOPT) -Wall -W -pipe -fsigned-char -fno-common -fmessage-length=0 -I$(FINK_ROOT)/include  -Wno-long-double
+CXXFLAGSNO    = $(CXXNOOPT) $(CXXSTF) 
 
 CFLAGS       = $(COPT) -Wall -W -fno-common -pipe -I$(FINK_ROOT)/include
 
-FFLAGS        = $(CLIBFOPT) $(FOPT)
+FFLAGS        = $(CLIBFOPT) $(FOPT) -ftrace=full
 # rmkdepend flags for building dependencies of FORTRAN files
 DEPENDFFLAGS  = $(FFLAGS)