comparison gsm-fw/L1/cust0/mv100/l1_cst.mak @ 517:eafadfee35b2

gsm-fw/L1/cust?: imported Leonardo, LoCosto and MV100 versions
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 10 Jul 2014 03:43:04 +0000
parents
children
comparison
equal deleted inserted replaced
516:78495749970a 517:eafadfee35b2
1 #
2 # Makefile used to build the Layer1 customizable library
3 #
4 #
5
6 include ../layer1_env.mak
7
8 L1DBG = -g # L1 debug option or not
9
10 TMCUSTCODE = ../tm_cust0
11 AUDIOCUSTCODE = ../audio_cust0
12
13 L1_CST_EXT_OBJ = $(OBJ)/ind_os.obj $(OBJ)/l1tm_cust.obj $(OBJ)/l1tm_tpu$(RF).obj
14
15 L1_CST_INT_OBJ = $(OBJ)/l1audio_cust.obj $(OBJ)/l1_cust.obj
16
17 EXT_LIB = $(L1_CST_EXT_LIB)
18
19 INT_LIB = $(L1_CST_INT_LIB)
20
21 all: all_dir $(EXT_LIB) $(INT_LIB)
22
23 all_dir:
24 -mkdir ..$(SLASH)obj
25 -mkdir ..$(SLASH)lib
26
27 $(EXT_LIB): $(L1_CST_EXT_OBJ)
28 -$(REMOVE) $(subst /,$(SLASH),$(EXT_LIB))
29 ar470 r $(EXT_LIB) $(L1_CST_EXT_OBJ)
30
31 $(INT_LIB): $(L1_CST_INT_OBJ)
32 -$(REMOVE) $(subst /,$(SLASH),$(INT_LIB))
33 ar470 r $(INT_LIB) $(L1_CST_INT_OBJ)
34
35 clean:
36 -$(REMOVE) $(subst /,$(SLASH),$(L1_CST_EXT_OBJ))
37 -$(REMOVE) $(subst /,$(SLASH),$(L1_CST_INT_OBJ))
38 -$(REMOVE) $(subst /,$(SLASH),$(EXT_LIB))
39 -$(REMOVE) $(subst /,$(SLASH),$(INT_LIB))
40
41 #
42 # Sources files
43 #
44
45 $(OBJ)/ind_os.obj: ind_os.c $(L1INC) $(TMINC) $(AUDIOINC)
46 $(CL470) $(L1FLAGS16) $(L1DBG) $(CDEFS_TI) -I$(IL1) -I$(IL2) -I$(IL3) \
47 -I$(INC_TM) -I$(IN1) -i$(ICOM) -i$(INC_AUDIO) -I$(INC_GTT) -i$(INC_TM) $(INCDRV) ind_os.c
48
49 $(OBJ)/l1audio_cust.obj: $(AUDIOCUSTCODE)/l1audio_cust.c $(L1INC) $(AUDIOINC) $(TMINC)
50 $(CL470) $(L1FLAGS16_NO_OPT_WA) $(L1DBG) $(CDEFS_TI) -I$(IL1) -I$(IL2) -I$(IL3) \
51 -I$(IN1) -i$(ICOM) -i$(INC_AUDIO) -i$(INC_TM) -I$(INC_GTT) $(INCDRV) $(INCAUDIOENTITY) $(AUDIOCUSTCODE)/l1audio_cust.c
52
53 $(OBJ)/l1tm_cust.obj: $(TMCUSTCODE)/l1tm_cust.c $(L1INC) $(TMINC) $(AUDIOINC)
54 $(CL470) $(L1FLAGS16) $(L1DBG) $(CDEFS_TI) -I$(IL1) -I$(IL2) -I$(IL3) -I$(IL7) \
55 -I$(INC_TM) -I$(IN1) -i$(ICOM) -i$(INC_TM) -i$(INC_AUDIO) -I$(INC_GTT) $(INCDRV) $(TMCUSTCODE)/l1tm_cust.c
56
57 $(OBJ)/l1tm_tpu$(RF).obj: $(TMCUSTCODE)/l1tm_tpu$(RF).c $(L1INC) $(TMINC)
58 $(CL470) $(L1FLAGS16) $(L1DBG) $(CDEFS_TI) -I$(IL1) -I$(IL2) -I$(IL3) -I$(IL7) \
59 -I$(INC_TM) -I$(IN1) -i$(ICOM) -i$(INC_TM) -i$(INC_AUDIO) -I$(INC_GTT) $(INCDRV) $(TMCUSTCODE)/l1tm_tpu$(RF).c
60
61 $(OBJ)/l1_cust.obj: l1_cust.c $(L1INC) $(TMINC)
62 $(CL470) $(L1FLAGS16) $(L1DBG) $(CDEFS_TI) -I$(IL1) -I$(IL2) -I$(IL3) \
63 -I$(IL7) -I$(IN1) -i$(ICOM) -i$(INC_TM) -i$(INC_AUDIO) -I$(INC_GTT) $(INCDRV) $(INCAUDIOENTITY) l1_cust.c
64