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