]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - Makefile
bug fix from prior checkin
[u/mrichter/AliRoot.git] / Makefile
index 2293417d026ba0da9ab4c485d749fbe6dc787bb4..2cf5490c3859fe050dd8533616dab169be1d18e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,8 @@ CXX           := $(shell root-config --cxx)
 F77          := $(shell root-config --f77)
 CC           := $(shell root-config --cc)
 
+CXXWARN       =
+
 #-------------------------------------------------------------------------------
 # Include machine dependent macros
 
@@ -80,6 +82,13 @@ DEPINC    += $(DATEFLAGS)
 DMONLIBS  :=
 endif
 
+#-------------------------------------------------------------------------------
+# Add warning flags if any
+
+ifneq ($(ALICXXWARN),no)
+CXXFLAGS  += $(CXXWARN)
+endif
+
 #-------------------------------------------------------------------------------
 # ROOT Stuff
 ROOTCONFIG    := root-config