--- calo/flight/FQLOOK/Makefile	2006/03/20 13:40:36	1.5
+++ calo/flight/FQLOOK/Makefile	2007/02/26 08:50:57	1.21
@@ -1,6 +1,6 @@
 # Flight quick look - FQLOOK
 # SOFTWARE VERSION
-VER= v1r04
+VER= v1r20
 # An almost general purpouse Makefile for PAMELA repository
 # Let's start with some usefull definition for colorize the echo 
 RED='\E[1;31;40m'
@@ -23,7 +23,7 @@
 # Here the variables used to override the standard make flags
 # C
 CC=gcc
-CFLAGS=-Wall 
+CFLAGS=-Wall -O4 -fPIC -pthread 
 # Enviroment:
 GCCVER=`gcc --version | head -1`
 UNAMEA=`uname -a`
@@ -33,7 +33,7 @@
 F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash
 # C++
 CXX=g++
-CXXFLAGS=-Wall
+CXXFLAGS=-Wall -O4 -fPIC -pthread 
 # ROOTCINT
 ROOTCINT=rootcint
 # Here the variables definig the local directories
@@ -96,6 +96,7 @@
 	@echo 'void info(){ printf("\nQLOOK flight package version: ${VER}\n\nCompiled on '${TODAY}' with: '${GCCVER}'\n\nOn: '${UNAMEA}'\n\n"); }' >> ${DIRSRC}/temp.cc
 	@${CXX} ${CXXFLAGS} -c -o $@ ${DIRSRC}/temp.cc -I${DIRINC} -I${PAM_INC} -I${PAM_YODA}/include/yoda/ `root-config --cflags`
 
+
 ${MACROSLIBS}: ${MACROSRCS}
 	@(${EGREEN} "Compiling macro: "${WHITE} "$@"; ${RESET})
 	@${ROOTCINT} -f ${DIRMACROS}/`basename $(@F) _${VER}.so  | sed s/lib//`link.cxx -c -I${ROOTINC} ${DIRINC}/`basename $(@F) _${VER}.so  | sed s/lib//`fun.h ${DIRINC}/`basename $(@F) _${VER}.so  | sed s/lib//`LinkDef.h