comparison src/cs/services/audio/tests/tests.mak @ 519:838eeafb0051

Main and Audio source directories lowercased
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 22 Jul 2018 07:41:05 +0000
parents src/cs/services/Audio/tests/tests.mak@945cf7f506b2
children
comparison
equal deleted inserted replaced
518:4b7e0dba42f6 519:838eeafb0051
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