]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - conf/MachineDef.Linux
Added maikes classes
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
index e465296f46574cf18ed1ae5d6dd1a0d1b9b336d3..1c41bf34d1801e9f83f751e41283af7291da7cc2 100644 (file)
@@ -4,22 +4,25 @@
 PLATFORM      = linux
 
 # The compilers
-CXX           = echo $*.cxx ; g++
-F77          = echo $*.F ; g77
-CC           = echo $*.c ; gcc
+CXX           = g++ 
+F77          = g77
+CC           = gcc
 
 # Global optimisation
-OPT           = -O2
+OPT           = -O -g
 
 # Shared library suffix
 SL           = so
 
+# AWK
+AWK          = awk
+
 # The options
 #
 # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
 # not necessary any more
 #
-CXXOPTS       = $(OPT) -Wall -fPIC
+CXXOPTS       = $(OPT) -Wall -fPIC -pipe
 COPT         = $(OPT)
 FOPT         = $(OPT) -fno-second-underscore
 
@@ -47,5 +50,6 @@ SOFLAGS       = -Wl,-soname,$(notdir $@) -shared
 SHLIB         = -lg2c
 
 LIBS          = $(ROOTLIBS) 
-GLIBS         = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt
+LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+GLIBS         = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt $(LIBNOVER)