1 |
#***************************************************************************** |
2 |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.3 2008-04-02 13:34:07 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)/PamOffLineSW/Make.def |
19 |
#------------------------------------------------------------------------------ |
20 |
|
21 |
|
22 |
CFLAGS += -I $(TRAK_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC |
23 |
|
24 |
CSRCS = dummy.c |
25 |
|
26 |
#------------------------------------------------------------------------------ |
27 |
|
28 |
TARGETLIB = $(TRAK_A) |
29 |
|
30 |
#------------------------------------------------------------------------------ |
31 |
|
32 |
|
33 |
libs: $(TARGETLIB) |
34 |
|
35 |
$(TARGETLIB) : ${OBJS} $(RRAW_A) |
36 |
cp -a $(RRAW_A) $(TARGETLIB); \ |
37 |
$(AR) -scrv $@ ${OBJS} |
38 |
|
39 |
$(RRAW_A): |
40 |
$(MAKE) -C readraw libs; |
41 |
|
42 |
clean: |
43 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
44 |
|
45 |
-include $(DEPEND) |
46 |
|
47 |
|
48 |
#------------------------------------------------------------------------------ |
49 |
include $(BASEDIR)/PamOffLineSW/Make.def.post |
50 |
#------------------------------------------------------------------------------ |