comparison src/cs/services/audio/audio_bgd/audio_bgd.mak @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
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)/ $<