1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:26 mocchiut Exp $ |
# FILE NAME: $Id: Makefile,v 1.2 2008/11/04 09:44:37 mocchiut Exp $ |
4 |
# VERSION: |
# VERSION: |
5 |
# AUTHOR: Nergal S.r.l. |
# AUTHOR: Nergal S.r.l. |
6 |
# DATE: |
# DATE: |
85 |
libs: $(TARGETLIB) |
libs: $(TARGETLIB) |
86 |
|
|
87 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |
88 |
|
ifeq ($(verbose),) |
89 |
|
@$(AR) -scrv $@ ${OBJS} &>/dev/null |
90 |
|
else |
91 |
$(AR) -scrv $@ ${OBJS} |
$(AR) -scrv $@ ${OBJS} |
92 |
|
endif |
93 |
|
|
94 |
INCLUDES = -I. -I$(ROOT_DIR)/include -I$(BASEDIR) |
INCLUDES = -I. -I$(ROOT_DIR)/include -I$(BASEDIR) |
95 |
|
|
96 |
|
|
97 |
$(ROOTEVENTDICT).cpp: TechmodelAlgorithm.h EventReader.h LinkDef.h |
$(ROOTEVENTDICT).cpp: TechmodelAlgorithm.h EventReader.h LinkDef.h |
98 |
|
ifeq ($(verbose),) |
99 |
|
@echo "Calling ROOTCINT";\ |
100 |
|
LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c $(INCLUDES) $^ |
101 |
|
else |
102 |
echo $(ROOTCINT) -f $@ -c $^;\ |
echo $(ROOTCINT) -f $@ -c $^;\ |
103 |
LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c $(INCLUDES) $^ |
LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c $(INCLUDES) $^ |
104 |
|
endif |
105 |
|
|
106 |
clean: |
clean: |
107 |
|
ifeq ($(verbose),) |
108 |
|
@rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h} |
109 |
|
else |
110 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h} |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h} |
111 |
|
endif |
112 |
|
|
113 |
#distclean: clean |
#distclean: clean |
114 |
|
|