comparison riviera/Makefile @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
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: