| 1 | mocchiut | 1.1 | #***************************************************************************** | 
| 2 |  |  | # | 
| 3 | mocchiut | 1.2 | # FILE NAME:    $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:23 mocchiut Exp $ | 
| 4 | mocchiut | 1.1 | # VERSION: | 
| 5 |  |  | # AUTHOR:       Nergal S.r.l. | 
| 6 |  |  | # DATE: | 
| 7 |  |  | # | 
| 8 |  |  | # DESCRIPTION:  base Makefile | 
| 9 |  |  | # | 
| 10 |  |  | # REVISION HISTORY: | 
| 11 |  |  | # | 
| 12 |  |  | # Version     Date      Author         Change Description | 
| 13 |  |  | # | 
| 14 |  |  | #*****************************************************************************/ | 
| 15 |  |  |  | 
| 16 |  |  |  | 
| 17 |  |  | #------------------------------------------------------------------------------ | 
| 18 |  |  | include $(BASEDIR)/PamOffLineSW/Make.def | 
| 19 |  |  | #------------------------------------------------------------------------------ | 
| 20 |  |  |  | 
| 21 |  |  |  | 
| 22 |  |  | CFLAGS += -I $(PHYS_DIR_INC) -I $(ROOT_DIR_INC) -I $(BASEDIR) -I $(PAMOFF_DIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -fPIC -DPIC | 
| 23 |  |  |  | 
| 24 |  |  | CXXSRCS =       \ | 
| 25 |  |  | TrackerReader.cpp           \ | 
| 26 |  |  | AnticounterReader.cpp       \ | 
| 27 |  |  | CalorimeterReader.cpp       \ | 
| 28 |  |  | NeutronDetectorReader.cpp   \ | 
| 29 |  |  | TriggerReader.cpp           \ | 
| 30 |  |  | TofReader.cpp               \ | 
| 31 |  |  | S4Reader.cpp | 
| 32 |  |  |  | 
| 33 |  |  |  | 
| 34 |  |  | #------------------------------------------------------------------------------ | 
| 35 |  |  |  | 
| 36 |  |  | TARGETLIB = $(PHYS_A) | 
| 37 |  |  |  | 
| 38 |  |  | #------------------------------------------------------------------------------ | 
| 39 |  |  |  | 
| 40 |  |  |  | 
| 41 |  |  | libs: $(TARGETLIB) | 
| 42 |  |  |  | 
| 43 |  |  | $(TARGETLIB) : ${OBJS} | 
| 44 | mocchiut | 1.2 | ifeq ($(verbose),) | 
| 45 |  |  | @$(AR) -scrv $@ ${OBJS} &>/dev/null | 
| 46 |  |  | else | 
| 47 | mocchiut | 1.1 | $(AR) -scrv $@ ${OBJS} | 
| 48 | mocchiut | 1.2 | endif | 
| 49 | mocchiut | 1.1 |  | 
| 50 |  |  | clean: | 
| 51 | mocchiut | 1.2 | ifeq ($(verbose),) | 
| 52 |  |  | @rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d | 
| 53 |  |  | else | 
| 54 | mocchiut | 1.1 | rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d | 
| 55 | mocchiut | 1.2 | endif | 
| 56 | mocchiut | 1.1 |  | 
| 57 |  |  | #distclean: clean | 
| 58 |  |  |  | 
| 59 |  |  | -include $(DEPEND) | 
| 60 |  |  |  | 
| 61 |  |  |  | 
| 62 |  |  | #------------------------------------------------------------------------------ | 
| 63 |  |  | include $(BASEDIR)/PamOffLineSW/Make.def.post | 
| 64 |  |  | #------------------------------------------------------------------------------ |