FreeCalypso > hg > tcs211-c139
comparison chipsetsw/services/lls/tests/tests.mak @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 # | |
2 # Makefile for the Test of LLS Riviera service (ARM compiler) | |
3 # | |
4 # Copyright (c) Texas Instruments 2002 | |
5 # | |
6 # Author: Laurent Sollier | |
7 # Date : 12 March 2002 | |
8 | |
9 # Compilation flags | |
10 LLS_TEST_FLAGS = $(NODBG) $(16INST) -mn $(CFLAGSSERVICES_TESTS) | |
11 WIN_LLS_TEST_FLAGS = $($(TP)CFLAGS) $(CFLAGSSERVICES_TESTS) | |
12 | |
13 # Libraries definition | |
14 LIB_LLS_TEST := $(OUT_LIB_DIR)/lls_tests.lib | |
15 CFG_LIBS += $(LIB_LLS_TEST) | |
16 | |
17 | |
18 # Source definition | |
19 COMMON_SRC_LLS_TEST := $(SERVICES_DIR)/lls/tests/lls_test.c \ | |
20 $(SERVICES_DIR)/lls/tests/lls_test_misc.c | |
21 | |
22 SRC_LLS_TEST := $(COMMON_SRC_LLS_TEST) | |
23 WIN_SRC_LLS_TEST := $(COMMON_SRC_LLS_TEST) | |
24 | |
25 | |
26 # Objects and dependencies definition | |
27 OBJ_LLS_TEST := $(patsubst ../%.c,$(TEMPORARY_FILE_DIR)/%.obj,$(filter %.c,$($(TP)SRC_LLS_TEST))) | |
28 CFG_OBJS += $(OBJ_LLS_TEST) | |
29 CFG_DEPS += $(OBJ_LLS_TEST:.obj=.d) | |
30 | |
31 | |
32 ######## LIBRARIES ############# | |
33 $(LIB_LLS_TEST) : $(OBJ_LLS_TEST) | |
34 $(MKDIR) $(dir $@) | |
35 $($(TP)LINKER) $($(TP)LFLAGS) $($(TP)LOUTOUT_FLAG)$@ $^ | |
36 | |
37 ######## OBJECTS ############# | |
38 $(OBJ_LLS_TEST) : $(TEMPORARY_FILE_DIR)/%.obj: ../%.c | |
39 $($(TP)COMPILER) $($(TP)LLS_TEST_FLAGS) $($(TP)COUTPUT_FLAG)$(@D)/ $< | |
40 |