comparison chipsetsw/services/Audio/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 Audio Riviera service (ARM compiler)
3 #
4 # Copyright (c) Texas Instruments 2001
5 #
6 # Author: Mazard Francois
7 # Date : 12 July 2001
8
9 # Compilation flags
10 AUDIO_TEST_FLAGS := $(NODBG) $(16INST) -mn $(CFLAGSSERVICES_TESTS) -i$(SERVICES_DIR)/audio
11 WIN_AUDIO_TEST_FLAGS := $($(TP)CFLAGS) $(CFLAGSSERVICES_TESTS) /I $(SERVICES_DIR)/audio
12
13 # Libraries definition
14 LIB_AUDIO_TEST := $(OUT_LIB_DIR)/audio_tests.lib
15 CFG_LIBS += $(LIB_AUDIO_TEST)
16
17 # Source definition
18 COMMON_SRC_AUDIO_TEST := $(SERVICES_DIR)/audio/tests/audio_test.c \
19 $(SERVICES_DIR)/audio/tests/audio_test_regr.c \
20 $(SERVICES_DIR)/audio/tests/audio_test_misc.c
21 SRC_AUDIO_TEST := $(COMMON_SRC_AUDIO_TEST)
22 WIN_SRC_AUDIO_TEST := $(COMMON_SRC_AUDIO_TEST)
23
24 # Objects and dependencies definition
25 OBJ_AUDIO_TEST := $(patsubst ../%.c,$(TEMPORARY_FILE_DIR)/%.obj,$(filter %.c,$($(TP)SRC_AUDIO_TEST)))
26 CFG_OBJS += $(OBJ_AUDIO_TEST)
27 CFG_DEPS += $(OBJ_AUDIO_TEST:.obj=.d)
28
29
30 ######## LIBRARIES #############
31 $(LIB_AUDIO_TEST) : $(OBJ_AUDIO_TEST)
32 $(MKDIR) $(dir $@)
33 $($(TP)LINKER) $($(TP)LFLAGS) $($(TP)LOUTOUT_FLAG)$@ $^
34
35 ######## OBJECTS #############
36 $(OBJ_AUDIO_TEST) : $(TEMPORARY_FILE_DIR)/%.obj: ../%.c
37 $($(TP)COMPILER) $($(TP)AUDIO_FLAGS) $($(TP)COUTPUT_FLAG)$(@D)/ $<
38