/[PAMELA software]/PamCut/MiscCuts/OBTPktNumCut/subdir.mk
ViewVC logotype

Diff of /PamCut/MiscCuts/OBTPktNumCut/subdir.mk

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

revision 1.1 by pam-fi, Tue Jun 29 07:47:17 2010 UTC revision 1.2 by pam-fi, Thu Jul 8 14:00:11 2010 UTC
# Line 0  Line 1 
1    #
2    #   ************ Subdir makefile ************
3    #      
4    #       Author: Nicola Mori
5    #    
6    #       This file contains the instructions to build the files contained in this
7    #       directory. It is not called directly, but it is included by the general
8    #       PamCut makefile. So the paths must be relative to the position of that
9    #                               makefile and not to the path of this file.
10    #
11    #
12    
13    # Choose a name for the object file. This must coincide with the .cpp and .h filename,
14    # except for the extension which has to be .o
15    OBJS += ./MiscCuts/OBTPktNumCut/OBTPktNumCut.o
16    
17    # Dependencies file. The extension must be .d, and the name equal to the cut name.
18    CPP_DEPS += ./MiscCuts/OBTPktNumCut/OBTPktNumCut.d
19    
20    # Rules for compilation. You will likely have only to specify the path.
21    # Put the directory path:
22    #    here                                      here
23    ./MiscCuts/OBTPktNumCut/%.o: ./MiscCuts/OBTPktNumCut/%.cpp $(COMMONDEPS)
24            @echo 'Building file: $<'
25            @echo 'Invoking: GCC C++ Compiler'
26            $(C++) -I${ROOTSYS}/include -I${PAM_INC} -I${PAM_INC}/yoda $(OPTIMIZE) $(EXCLUSIONFLAGS) -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
27            @echo 'Finished building: $<'
28            @echo ' '
29    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23