FreeCalypso > hg > efr-experiments
comparison efr2/Makefile @ 2:c511bfb36c2a
beginning of EFR2 decoder, using AMR version of AGC module
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 03 Apr 2024 05:47:51 +0000 |
| parents | std/Makefile@cd1a63963fa4 |
| children | e22550b5a224 |
comparison
equal
deleted
inserted
replaced
| 1:cd1a63963fa4 | 2:c511bfb36c2a |
|---|---|
| 1 # | |
| 2 # makefile for GSM Enhanced Full Rate Speech Codec | |
| 3 # EFR2 variant, with bits from AMR mixed in | |
| 4 # | |
| 5 | |
| 6 # For GCC compiler | |
| 7 CC = gcc | |
| 8 LFLAG = | |
| 9 CFLAGS = -Wall -O4 -DWMOPS=0 -DEFR2_VARIANT -fno-builtin | |
| 10 VPATH = ../src | |
| 11 | |
| 12 # Objects | |
| 13 OBJ = coder.o cod_12k2.o az_lsp.o autocorr.o convolve.o c1035pf.o basicop2.o \ | |
| 14 pitch_ol.o pitch_f6.o enc_lag6.o g_pitch.o residu.o count.o weight_a.o \ | |
| 15 q_gains.o g_code.o pred_lt6.o copy.o levinson.o lag_wind.o prm2bits.o \ | |
| 16 syn_filt.o int_lpc.o q_plsf_5.o set_zero.o log2.o pow2.o oper_32b.o \ | |
| 17 lsp_lsf.o reorder.o lsp_az.o inv_sqrt.o inter_6.o pre_proc.o n_proc.o \ | |
| 18 vad.o dtx.o e_homing.o | |
| 19 | |
| 20 DOBJ = decoder.o dec_12k2.o basicop2.o pstfilt2.o pred_lt6.o dec_lag6.o \ | |
| 21 int_lpc.o count.o weight_a.o agc_amr.o set_zero.o preemph.o residu.o \ | |
| 22 syn_filt.o copy.o bits2prm.o reorder.o lsp_az.o inv_sqrt.o d_plsf_5.o \ | |
| 23 d_gains.o d1035pf.o log2.o pow2.o oper_32b.o lsp_lsf.o n_proc.o dtx.o \ | |
| 24 d_homing.o | |
| 25 | |
| 26 # Implicit Rules | |
| 27 .c.o: | |
| 28 $(CC) $(CFLAGS) -c $< | |
| 29 | |
| 30 all: coder decoder | |
| 31 | |
| 32 # Explicit Rules | |
| 33 coder: $(OBJ) | |
| 34 $(CC) $(LFLAG) -o coder $(CFLAGS) $(OBJ) | |
| 35 decoder: $(DOBJ) | |
| 36 $(CC) $(LFLAG) -o decoder $(CFLAGS) $(DOBJ) | |
| 37 | |
| 38 # Individual File Dependencies | |
| 39 agc_amr.o: typedef.h basic_op.h count.h sig_proc.h cnst.h | |
| 40 autocorr.o: typedef.h basic_op.h oper_32b.h count.h cnst.h | |
| 41 az_lsp.o: typedef.h basic_op.h oper_32b.h count.h cnst.h grid.tab | |
| 42 basicop2.o: typedef.h basic_op.h count.h | |
| 43 bits2prm.o: typedef.h basic_op.h count.h | |
| 44 c1035pf.o: typedef.h basic_op.h sig_proc.h count.h | |
| 45 cod_12k2.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h \ | |
| 46 window2.tab vad.h dtx.h | |
| 47 coder.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h \ | |
| 48 n_stack.h e_homing.h dtx.h | |
| 49 convolve.o: typedef.h basic_op.h count.h | |
| 50 copy.o: typedef.h basic_op.h count.h | |
| 51 count.o: typedef.h count.h | |
| 52 d1035pf.o: typedef.h basic_op.h count.h | |
| 53 d_gains.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h gains_tb.h \ | |
| 54 cnst.h dtx.h | |
| 55 d_homing.o: typedef.h cnst.h dtx.h codec.h d_homing.h q_plsf_5.tab | |
| 56 d_plsf_5.o: typedef.h basic_op.h count.h sig_proc.h q_plsf_5.tab cnst.h dtx.h | |
| 57 dec_12k2.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h dtx.h | |
| 58 dec_lag6.o: typedef.h basic_op.h count.h | |
| 59 decoder.o: typedef.h n_stack.h basic_op.h sig_proc.h count.h codec.h \ | |
| 60 cnst.h d_homing.h | |
| 61 dtx.o: typedef.h basic_op.h cnst.h sig_proc.h count.h dtx.h | |
| 62 e_homing.o: typedef.h cnst.h vad.h dtx.h codec.h sig_proc.h e_homing.h | |
| 63 enc_lag6.o: typedef.h basic_op.h count.h | |
| 64 g_code.o: typedef.h basic_op.h count.h cnst.h | |
| 65 g_pitch.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h | |
| 66 int_lpc.o: typedef.h basic_op.h count.h sig_proc.h | |
| 67 inter_6.o: typedef.h basic_op.h count.h | |
| 68 inv_sqrt.o: typedef.h basic_op.h count.h inv_sqrt.tab | |
| 69 lag_wind.o: typedef.h basic_op.h oper_32b.h count.h lag_wind.tab | |
| 70 levinson.o: typedef.h basic_op.h oper_32b.h count.h | |
| 71 log2.o: typedef.h basic_op.h count.h log2.tab | |
| 72 lsp_az.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h | |
| 73 lsp_lsf.o: typedef.h basic_op.h count.h lsp_lsf.tab | |
| 74 n_proc.o: | |
| 75 oper_32b.o: typedef.h basic_op.h oper_32b.h count.h | |
| 76 pitch_f6.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h codec.h | |
| 77 pitch_ol.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h | |
| 78 pow2.o: typedef.h basic_op.h count.h pow2.tab | |
| 79 pre_proc.o: typedef.h basic_op.h oper_32b.h count.h | |
| 80 pred_lt6.o: typedef.h basic_op.h count.h | |
| 81 preemph.o: typedef.h basic_op.h count.h | |
| 82 prm2bits.o: typedef.h basic_op.h count.h | |
| 83 pstfilt2.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h | |
| 84 q_gains.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h gains_tb.h \ | |
| 85 cnst.h dtx.h | |
| 86 q_plsf_5.o: typedef.h basic_op.h count.h sig_proc.h cnst.h dtx.h q_plsf_5.tab | |
| 87 reorder.o: typedef.h basic_op.h count.h | |
| 88 residu.o: typedef.h basic_op.h count.h | |
| 89 set_zero.o: typedef.h basic_op.h count.h | |
| 90 syn_filt.o: typedef.h basic_op.h count.h | |
| 91 vad.o: typedef.h cnst.h basic_op.h oper_32b.h count.h vad.h | |
| 92 weight_a.o: typedef.h basic_op.h count.h |
