comparison src/cs/services/audio/audio_bgd/audio_bgd.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/Audio_bgd/audio_bgd.mak@945cf7f506b2
children
comparison
equal deleted inserted replaced
518:4b7e0dba42f6 519:838eeafb0051
1 #
2 # Makefile for 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_BGD_FLAGS = $(NODBG) $(16INST) -mn $(CFLAGSSERVICES)
11 WIN_AUDIO_BGD_FLAGS = $($(TP)CFLAGS) $(CFLAGSSERVICES)
12
13 # Libraries definition
14 LIB_AUDIO_BGD := $(OUT_LIB_DIR)/audio_bgd.lib
15 CFG_LIBS += $(LIB_AUDIO_BGD)
16
17 # Source definition
18 ifdef AUDIO_SOURCE
19 COMMON_SRC_AUDIO_BGD := $(SERVICES_DIR)/audio/audio_bgd/audio_bgd_env.c \
20 $(SERVICES_DIR)/audio/audio_bgd/audio_bgd_task.c
21
22 SRC_AUDIO_BGD := $(COMMON_SRC_AUDIO_BGD)
23 WIN_SRC_AUDIO_BGD := $(COMMON_SRC_AUDIO_BGD)
24 endif
25
26 # Objects and dependencies definition
27 OBJ_AUDIO_BGD := $(patsubst ../%.c,$(TEMPORARY_FILE_DIR)/%.obj,$(filter %.c,$($(TP)SRC_AUDIO_BGD)))
28 CFG_OBJS += $(OBJ_AUDIO_BGD)
29 CFG_DEPS += $(OBJ_AUDIO_BGD:.obj=.d)
30
31
32 ######## LIBRARIES #############
33 $(LIB_AUDIO_BGD) : $(OBJ_AUDIO_BGD)
34 $(MKDIR) $(dir $@)
35 $($(TP)LINKER) $($(TP)LFLAGS) $($(TP)LOUTOUT_FLAG)$@ $^
36
37 ######## OBJECTS #############
38 $(OBJ_AUDIO_BGD) : $(TEMPORARY_FILE_DIR)/%.obj: ../%.c
39 $($(TP)COMPILER) $($(TP)AUDIO_BGD_FLAGS) $($(TP)COUTPUT_FLAG)$(@D)/ $<