/[PAMELA software]/chewbacca/PamOffLineSW/Makefile
ViewVC logotype

Diff of /chewbacca/PamOffLineSW/Makefile

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

revision 1.7 by mocchiut, Wed Jul 29 15:46:58 2009 UTC revision 1.9 by mocchiut, Tue Aug 4 13:58:08 2009 UTC
# Line 1  Line 1 
1  #*****************************************************************************  #*****************************************************************************
2  #  #
3  # FILE NAME:    $Id: Makefile,v 1.6 2009/04/10 15:01:45 pam-fi Exp $      # FILE NAME:    $Id: Makefile,v 1.8 2009/07/29 16:13:13 mocchiut Exp $    
4  # VERSION:        # VERSION:      
5  # AUTHOR:       Nergal S.r.l.  # AUTHOR:       Nergal S.r.l.
6  # DATE:  # DATE:
# Line 18  Line 18 
18  ifneq ($(MAKECMDGOALS),distclean)  ifneq ($(MAKECMDGOALS),distclean)
19  include $(BASEDIR)/PamOffLineSW/Make.def  include $(BASEDIR)/PamOffLineSW/Make.def
20  endif  endif
21    ifeq ($(GCC4),1)
22    export LG2C=-lgfortran
23    else    
24    export  LG2C=-lg2c
25    endif
26  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
27    
28    
# Line 50  all: $(EXECUTABLES) Line 55  all: $(EXECUTABLES)
55    
56  $(EXECUTABLES): $(TARGETLIB) $(EXTLIB)  $(EXECUTABLES): $(TARGETLIB) $(EXTLIB)
57  ifeq ($(verbose),)  ifeq ($(verbose),)
58          @$(CXX) $(PAM_BIT) -o  $@    -L ../event -lyoda -lg2c `root-config --libs` -lRMySQL $^          @$(CXX) $(PAM_BIT) -o  $@    -L ../event -lyoda ${LG2C} `root-config --libs` -lRMySQL $^
59  else  else
60          $(CXX) $(PAM_BIT) -o  $@    -L ../event -lyoda -lg2c `root-config --libs` -lRMySQL $^          $(CXX) $(PAM_BIT) -o  $@    -L ../event -lyoda ${LG2C} `root-config --libs` -lRMySQL $^
61  endif  endif
62    
63  $(EXTLIB): $(EXTDIR)  $(EXTLIB): $(EXTDIR)
# Line 174  endif Line 179  endif
179  distclean: distclean-sub distclean-subdir clean  distclean: distclean-sub distclean-subdir clean
180  ifeq ($(verbose),)  ifeq ($(verbose),)
181          @rm -f $(ROOTEVENTDICT).{cpp,h}          @rm -f $(ROOTEVENTDICT).{cpp,h}
182            @$(MAKE) -s -C techmodel/ clean
183  else  else
184          rm -f $(ROOTEVENTDICT).{cpp,h}          rm -f $(ROOTEVENTDICT).{cpp,h}
185  endif  endif

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

  ViewVC Help
Powered by ViewVC 1.1.23