/[PAMELA software]/PamCut/makefile
ViewVC logotype

Diff of /PamCut/makefile

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

revision 1.6 by pam-fi, Fri Dec 4 14:38:36 2009 UTC revision 1.8 by pam-fi, Tue Mar 23 10:21:25 2010 UTC
# Line 26  C++ = g++ Line 26  C++ = g++
26  # "#ifdef DEBUGPAMCUT" and "#endif"). Note that if you  # "#ifdef DEBUGPAMCUT" and "#endif"). Note that if you
27  # use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT  # use debug instructions also in the .h code (headers) you will also have to add -DDEBUGPAMCUT
28  # to the compiler options for the main analysis program.  # to the compiler options for the main analysis program.
29    # 3) Since this is a general compiler flag it can also be used, eg., to set the -m32 flag
30  OPTIMIZE = -g3 #-DDEBUGPAMCUT  OPTIMIZE = -g3 #-DDEBUGPAMCUT
31    
32    # Linker flags
33    # The flags defined here will be directly inserted into the linker invocation. Place here the
34    # -m32 flag, for example.
35    LINKERFLAGS =
36    
37  # Library flags  # Library flags
38  # Pamela software is modular, so some libraries may not be available in some istallations.  # Pamela software is modular, so some libraries may not be available in some istallations.
# Line 40  OPTIMIZE = -g3 #-DDEBUGPAMCUT Line 45  OPTIMIZE = -g3 #-DDEBUGPAMCUT
45  # if no exclusion flag is set, will try to include optional software headers.  # if no exclusion flag is set, will try to include optional software headers.
46  # Conversely, if you use optional libraries remember to tell it to the linker.  # Conversely, if you use optional libraries remember to tell it to the linker.
47    
48  EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI  EXCLUSIONFLAGS = -DNO_CALONUCLEI -DNO_TRKNUCLEI -DNO_TOFNUCLEI #-DNO_CALOPRESAMPLER
49    
50  # Put below the files on which every .cpp  must depend on, ie., those files that,  # Put below the files on which every .cpp  must depend on, ie., those files that,
51  # if modified, will trigger a complete recompilation of the project.  # if modified, will trigger a complete recompilation of the project.
# Line 77  all: libPamCut.so Line 82  all: libPamCut.so
82  libPamCut.so: $(OBJS) $(USER_OBJS)  libPamCut.so: $(OBJS) $(USER_OBJS)
83          @echo 'Building target: $@'          @echo 'Building target: $@'
84          @echo 'Invoking: GCC C++ Linker'          @echo 'Invoking: GCC C++ Linker'
85          $(C++) -shared -o"libPamCut.so" $(OBJS)          $(C++) -shared $(LINKERFLAGS) -o"libPamCut.so" $(OBJS)
86          @echo 'Finished building target: $@'          @echo 'Finished building target: $@'
87          @echo ' '          @echo ' '
88    

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

  ViewVC Help
Powered by ViewVC 1.1.23