1 |
#***************************************************************************** |
2 |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.3 2008-04-02 13:30:54 messineo Exp $ |
4 |
# 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 $(TMTC_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC |
23 |
|
24 |
CXXSRCS = TmtcEvent.cpp TmtcRecord.cpp |
25 |
|
26 |
|
27 |
#------------------------------------------------------------------------------ |
28 |
|
29 |
TARGETLIB = $(TMTC_A) |
30 |
|
31 |
#------------------------------------------------------------------------------ |
32 |
|
33 |
|
34 |
libs: $(TARGETLIB) |
35 |
|
36 |
$(TARGETLIB) : ${OBJS} |
37 |
$(AR) -scrv $@ $? |
38 |
|
39 |
clean: |
40 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
41 |
|
42 |
-include $(DEPEND) |
43 |
|
44 |
|
45 |
#------------------------------------------------------------------------------ |
46 |
include $(BASEDIR)/event/Make.def.post |
47 |
#------------------------------------------------------------------------------ |
48 |
|