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