comparison gsm-fw/riviera/Makefile @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/riviera/Makefile@7d7950d7f924
children
comparison
equal deleted inserted replaced
142:15d5977390c2 143:afceeeb2cba1
1 AR= arm-elf-ar
2 RANLIB= arm-elf-ranlib
3
4 SUBDIR= init rvf rvm rvt support
5
6 INIT_OBJS= init/create_RVtasks.o
7 RVF_OBJS= rvf/rvf_buffer.o rvf/rvf_mem_pool.o rvf/rvf_msg.o \
8 rvf/rvf_task.o rvf/rvf_time.o rvf/rvf_trace_adapt.o
9 RVM_OBJS= rvm/rvm_api.o rvm/rvm_group_swe.o rvm/rvm_mem.o rvm/rvm_swe.o \
10 rvm/rvm_swe_db.o rvm/rvm_swe_hdlr.o rvm/rvm_task.o
11 RVT_OBJS= rvt/rvt_api.o rvt/rvt_env.o rvt/rvt_task.o
12 SUP_OBJS= support/exception.o
13
14 OBJS= ${INIT_OBJS} ${RVF_OBJS} ${RVM_OBJS} ${RVT_OBJS} ${SUP_OBJS}
15
16 all: librv.a
17
18 ${SUBDIR}: FRC
19 cd $@; ${MAKE} ${MFLAGS}
20
21 ${INIT_OBJS}: init
22 @true
23
24 ${RVF_OBJS}: rvf
25 @true
26
27 ${RVM_OBJS}: rvm
28 @true
29
30 ${RVT_OBJS}: rvt
31 @true
32
33 ${SUP_OBJS}: support
34 @true
35
36 librv.a: ${OBJS}
37 ${AR} cru $@ ${OBJS}
38 ${RANLIB} $@
39
40 clean: FRC
41 rm -f *.[oa] *.out *errs
42 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
43
44 FRC: