1 |
mocchiut |
1.1 |
#***************************************************************************** |
2 |
|
|
# |
3 |
mocchiut |
1.2 |
# FILE NAME: $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:21 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 $(CALO_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC |
23 |
|
|
|
24 |
|
|
CSRCS = fillin.c |
25 |
|
|
|
26 |
|
|
CXXSRCS = calcrc.cpp |
27 |
|
|
|
28 |
|
|
FORSRCS = azero.for calpedestal.for calpulse.for calunpack.for clearall.for |
29 |
|
|
|
30 |
|
|
#------------------------------------------------------------------------------ |
31 |
|
|
|
32 |
|
|
TARGETLIB = $(CALO_A) |
33 |
|
|
|
34 |
|
|
#------------------------------------------------------------------------------ |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
libs: $(TARGETLIB) |
38 |
|
|
|
39 |
|
|
$(TARGETLIB) : ${OBJS} |
40 |
mocchiut |
1.2 |
ifeq ($(verbose),) |
41 |
|
|
@$(AR) -scrv $@ $? &>/dev/null |
42 |
|
|
else |
43 |
mocchiut |
1.1 |
$(AR) -scrv $@ $? |
44 |
mocchiut |
1.2 |
endif |
45 |
mocchiut |
1.1 |
|
46 |
|
|
clean: |
47 |
mocchiut |
1.2 |
ifeq ($(verbose),) |
48 |
|
|
@rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
49 |
|
|
else |
50 |
mocchiut |
1.1 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
51 |
mocchiut |
1.2 |
endif |
52 |
mocchiut |
1.1 |
|
53 |
|
|
-include $(DEPEND) |
54 |
|
|
|
55 |
|
|
|
56 |
|
|
#------------------------------------------------------------------------------ |
57 |
|
|
include $(BASEDIR)/PamOffLineSW/Make.def.post |
58 |
|
|
#------------------------------------------------------------------------------ |