]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - conf/MachineDef.Linux
Adding Geant4 configuration file
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
index 6fedefb93d25d6d459193f3005f8096992d071f5..08f432a4af04c31dde10bc2d1a704bc4838be4be 100644 (file)
@@ -10,16 +10,20 @@ CC        = echo $*.c ; gcc
 
 # Global optimisation
 OPT           = -O2
+OPT           = -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
 
@@ -32,11 +36,12 @@ CLIBFOPT      =
 
 # Additional directories for dependencies
 
-DEPINC       = `rm -f /tmp/d.cxx; touch /tmp/d.cxx ; \
-                 g++ -v -c /tmp/d.cxx -o /dev/null 2>&1 | \
+DEPINC       = `rm -f /tmp/d_$$$$.cxx; touch /tmp/d_$$$$.cxx ; \
+                 g++ -v -c /tmp/d_$$$$.cxx -o /dev/null 2>&1 | \
                  awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
                  if(i==1) printf "%s",$$sub(" ","-I")" "; \
-                 if(substr($$0,1,10) == "\#include <") i=1}' ; rm /tmp/d.cxx`
+                 if(substr($$0,1,10) == "\#include <") i=1}' ; \
+                 rm /tmp/d_$$$$.cxx`
                
 LD            = g++
 LDFLAGS       = $(OPT)