/[PAMELA software]/chewbacca/PamOffLineSW/forroutines/Makefile
ViewVC logotype

Contents of /chewbacca/PamOffLineSW/forroutines/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 23 07:20:15 2008 UTC (16 years, 2 months ago) by mocchiut
Branch: MAIN
Branch point for: v0r00
Initial revision

1 #*****************************************************************************
2 #
3 # FILE NAME: $Id: Makefile,v 1.4 2008-04-02 13:33:08 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 $(FORROU_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC
23
24 CSRCS = dummy2.c
25
26 #------------------------------------------------------------------------------
27
28 TARGETLIB = $(FORROUINT_A)
29
30 #------------------------------------------------------------------------------
31
32
33 libs: $(TARGETLIB) $(FORROU_A)
34
35 $(FORROU_A): $(TARGETLIB) $(FORROUEXTLIB)
36 cd $(OBJDIR); \
37 pwd ;\
38 for sub_lib in $(FORROUEXTLIB) ; do \
39 $(AR) -x $$sub_lib ; \
40 done ; \
41 $(AR) -scrv $@ *.o;
42
43
44 $(FORROUEXTLIB): $(FORROUEXTDIR)
45 for sub_dir in $(FORROUEXTDIR) ; do \
46 $(MAKE) -C $$sub_dir libs ; \
47 done
48
49
50 $(TARGETLIB) : ${OBJS}
51 $(AR) -scrv $@ ${OBJS}
52
53 clean: clean-subdir
54 rm -f $(TARGETLIB) $(OBJDIR)/*.[oa] $(OBJDIR)/.*.d
55
56 clean-subdir:
57 for sub_dir in $(FORROUEXTDIR) ; do \
58 $(MAKE) -C $$sub_dir clean ; \
59 done
60
61 -include $(DEPEND)
62
63
64 #------------------------------------------------------------------------------
65 include $(BASEDIR)/PamOffLineSW/Make.def.post
66 #------------------------------------------------------------------------------

  ViewVC Help
Powered by ViewVC 1.1.23