/[PAMELA software]/PamVMC/aux/spectra_generator/Makefile
ViewVC logotype

Annotation of /PamVMC/aux/spectra_generator/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Jun 12 18:53:40 2009 UTC (15 years, 6 months ago) by pam-rm2
Branch: MAIN
CVS Tags: v1r0, HEAD
*** empty log message ***

1 pam-rm2 1.1 RED='\E[1;31;40m'
2     GREEN='\E[1;32;40m'
3     YELLOW='\E[1;33;40m'
4     BLUE='\E[1;34;40m'
5     WHITE='\E[1;37;40m'
6     VIOLET='\E[1;35;40m'
7     CYAN='\E[1;36;40m'
8     EGREEN=echo -e ${GREEN}
9     RESET=tput sgr0
10     CC=gcc
11     LD=g++
12     CXX=g++
13     CXXFLAGS= -Wall -fPIC `root-config --cflags` -I. -I${PAM_INC} \
14     -I${PAM_YODA}/include/yoda \
15     -I${ROOTSYS}/include
16     CXXLIBS= `root-config --glibs` -L${PAM_LIB}\
17     ${PAM_LIB}/libPamLevel2.so \
18     ${PAM_LIB}/libTrkLevel2.so \
19     ${PAM_LIB}/libTrkLevel1.so \
20     ${PAM_LIB}/libS4Level2.so \
21     ${PAM_LIB}/libCaloLevel1.so \
22     ${PAM_LIB}/libCaloLevel2.so \
23     ${PAM_LIB}/libNDLevel2.so \
24     ${PAM_LIB}/libToFLevel2.so \
25     ${PAM_LIB}/libGLTables.so \
26     ${PAM_LIB}/libAcLevel2.so \
27     ${PAM_LIB}/libOrbitalInfo.so \
28     ${PAM_LIB}/libTrigLevel2.so \
29     ${PAM_LIB}/libyoda.so \
30     ${PAM_LIB}/libDarthVader.so\
31     ${PAM_LIB}/libsgp4.so \
32     ${PAM_LIB}/libTrkHough.so \
33     ${PAM_LIB}/libRunInfo.so \
34     ${ROOTSYS}/lib/libVMC.so \
35     ${ROOTSYS}/lib/libGeom.so \
36     ${ROOTSYS}/lib/libPhysics.so \
37     ${ROOTSYS}/lib/libTree.so \
38     ${ROOTSYS}/lib/libEG.so \
39     ${ROOTSYS}/lib/libSQL.so \
40     ./libPrimaryInfo.so
41     CXXSRC=sp_gen.C
42     CXXOBJS=sp_gen.o
43    
44     all: PrimaryInfo sp_gen
45    
46     PrimaryInfoDict.cxx: LinkDef.h PrimaryInfo.h
47     rm -f PrimaryInfoDict.cxx
48     rootcint -f PrimaryInfoDict.cxx -c -I. PrimaryInfo.h LinkDef.h
49     PrimaryInfo: PrimaryInfoDict.cxx
50     @${LD} ${CXXFLAGS} -shared PrimaryInfoDict.cxx -o libPrimaryInfo.so
51    
52     sp_gen: ${CXXOBJS} ${MYLIBS}
53     @(${EGREEN} "Creating executable: "${WHITE} "$@"; ${RESET})
54     @${LD} ${CXXLIBS} -o $@ $^
55     @rm -f ${CXXOBJS}
56    
57     sp_gen.o: ${CXXSRC}
58     @rm -f ${CXXOBJS}
59     @(${EGREEN} "Creating object file: "${WHITE} "$@"; ${RESET})
60     @${CXX} ${CXXFLAGS} -c -o $@ $<
61     clean:
62     rm sp_gen *.so *.d *.o *.cxx PrimaryInfoDict.cxx PrimaryInfoDict.h

  ViewVC Help
Powered by ViewVC 1.1.23