/[PAMELA software]/calo/flight/CaloProfile/Makefile
ViewVC logotype

Diff of /calo/flight/CaloProfile/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mocchiut, Mon Dec 14 14:49:14 2009 UTC revision 1.8 by mocchiut, Fri Jun 18 13:27:29 2010 UTC
# Line 1  Line 1 
1  # Calorimeter profile plugin  # Calorimeter profile plugin
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v3r01  VER= v3r02
4  # An almost general purpouse Makefile for PAMELA repository  # An almost general purpouse Makefile for PAMELA repository
5  # Let's start with some usefull definition for colorize the echo  # Let's start with some usefull definition for colorize the echo
6  RED='\E[1;31;40m'  RED='\E[1;31;40m'
# Line 120  INCLUDE= ${INCSRCS} Line 120  INCLUDE= ${INCSRCS}
120  TOBEDEL = junk  TOBEDEL = junk
121  ROOTINC=$$${shell root-config --incdir}  ROOTINC=$$${shell root-config --incdir}
122  NROOTINC=${shell root-config --incdir}  NROOTINC=${shell root-config --incdir}
123    ROOTVERS=$(shell echo `root-config --version | sed 's/\./\ /g' | sed 's/\//\ /g' `)
124    ROOTMAJ=$(word 1,$(ROOTVERS))
125    ROOTMIN=$(word 2,$(ROOTVERS))
126  # Let's start  # Let's start
127  all : test mkbindir mklibdir ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS} ${CXXEXELIBS}  all : test mkbindir mklibdir ${LIBF77LIBS} ${LIBROOTLIBS} ${LIBCPPLIBS} ${CXXEXELIBS}
128  all:  all:
129          @echo -e ${GREEN} ""          @echo -e ${GREEN} ""
130          @(${EGREEN} " Finished, now you can install the package \n  (use: make install or make upgrade or make forceinstall) "; ${RESET})          @(${EGREEN} " Finished, now you can install the package \n  (use: make install or make upgrade or make forceinstall) "; ${RESET})
131          @echo -e ${GREEN} ""          @echo -e ${GREEN} ""
132            @if [ ${ROOTMAJ} -lt 5 ]||([ ${ROOTMAJ} -eq 5 ]&&[ ${ROOTMIN} -lt 24 ]); then (${ERED} " W A R N I N G ! ! old ROOT version (${ROOTMAJ}.${ROOTMIN})\n  The longitudinal fit will fail - upgrade ROOT to version >= 5.24! \n"; ${RESET}); fi;
133            @echo -e ${GREEN} ""
134          @${RESET}          @${RESET}
135    
136  # Here some general rules to produce objects in our local dir  # Here some general rules to produce objects in our local dir

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23