makefile.gcc 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. #
  2. # makefile for AMR WB Speech Codec
  3. #
  4. # For GCC compiler
  5. CC = gcc
  6. LFLAG =
  7. CFLAGS = -Wall -O4 -DWMOPS=0 -D__MSDOS__
  8. # Objects
  9. OBJ = coder.o agc2.o autocorr.o az_isp.o bits.o c2t64fx.o c4t64fx.o cod_main.o \
  10. convolve.o cor_h_x.o d2t64fx.o d4t64fx.o decim54.o dec_main.o deemph.o \
  11. dtx.o d_gain2.o gpclip.o g_pitch.o hp6k.o hp7k.o hp50.o hp400.o hp_wsp.o \
  12. int_lpc.o isfextrp.o isp_az.o isp_isf.o lagconc.o lag_wind.o levinson.o \
  13. lp_dec2.o math_op.o ph_disp.o pitch_f4.o pit_shrp.o pred_lt4.o preemph.o \
  14. p_med_ol.o qisf_ns.o qpisf_2s.o q_gain2.o q_pulse.o random.o residu.o \
  15. scale.o syn_filt.o updt_tar.o util.o voicefac.o wb_vad.o weight_a.o \
  16. basicop2.o count.o log2.o oper_32b.o homing.o
  17. DOBJ = decoder.o agc2.o autocorr.o az_isp.o bits.o c2t64fx.o c4t64fx.o cod_main.o \
  18. convolve.o cor_h_x.o d2t64fx.o d4t64fx.o decim54.o dec_main.o deemph.o \
  19. dtx.o d_gain2.o gpclip.o g_pitch.o hp6k.o hp7k.o hp50.o hp400.o hp_wsp.o \
  20. int_lpc.o isfextrp.o isp_az.o isp_isf.o lagconc.o lag_wind.o levinson.o \
  21. lp_dec2.o math_op.o ph_disp.o pitch_f4.o pit_shrp.o pred_lt4.o preemph.o \
  22. p_med_ol.o qisf_ns.o qpisf_2s.o q_gain2.o q_pulse.o random.o residu.o \
  23. scale.o syn_filt.o updt_tar.o util.o voicefac.o wb_vad.o weight_a.o \
  24. basicop2.o count.o log2.o oper_32b.o homing.o
  25. # Implicit Rules
  26. .c.o:
  27. $(CC) $(CFLAGS) -c $<
  28. all: coder decoder
  29. # Explicit Rules
  30. coder: $(OBJ)
  31. $(CC) $(LFLAG) -o coder $(CFLAGS) $(OBJ)
  32. decoder: $(DOBJ)
  33. $(CC) $(LFLAG) -o decoder $(CFLAGS) $(DOBJ)
  34. # Individual File Dependencies
  35. basicop2.o: typedef.h basic_op.h count.h
  36. count.o: typedef.h count.h
  37. log2.o: log2.h typedef.h basic_op.h count.h log2_tab.h
  38. oper_32b.o: typedef.h basic_op.h oper_32b.h count.h
  39. autocorr.o: typedef.h basic_op.h oper_32b.h acelp.h count.h
  40. az_isp.o: typedef.h basic_op.h oper_32b.h count.h
  41. bits.o: typedef.h basic_op.h cnst.h bits.h acelp.h count.h dtx.h
  42. c2t64fx.o: typedef.h basic_op.h math_op.h acelp.h count.h cnst.h
  43. c4t64fx.o: typedef.h basic_op.h math_op.h acelp.h count.h cnst.h q_pulse.h
  44. cod_main.o: typedef.h basic_op.h oper_32b.h math_op.h cnst.h acelp.h \
  45. cod_main.h bits.h count.h
  46. convolve.o: typedef.h basic_op.h count.h
  47. cor_h_x.o: typedef.h basic_op.h math_op.h count.h
  48. d2t64fx.o: typedef.h basic_op.h count.h cnst.h
  49. d4t64fx.o: typedef.h basic_op.h count.h cnst.h q_pulse.h
  50. decim54.o: typedef.h basic_op.h acelp.h count.h cnst.h
  51. dec_main.o: typedef.h basic_op.h oper_32b.h cnst.h acelp.h dec_main.h bits.h count.h math_op.h
  52. deemph.o: typedef.h basic_op.h math_op.h count.h
  53. dtx.o: typedef.h basic_op.h oper_32b.h math_op.h cnst.h acelp.h bits.h dtx.h count.h log2.h
  54. d_gain2.o: typedef.h basic_op.h oper_32b.h math_op.h log2.h cnst.h acelp.h count.h
  55. gpclip.o: typedef.h basic_op.h count.h
  56. g_pitch.o: typedef.h basic_op.h math_op.h count.h
  57. homing.o: typedef.h basic_op.h cnst.h bits.h
  58. hp400.o: typedef.h basic_op.h oper_32b.h acelp.h count.h
  59. hp50.o: typedef.h basic_op.h oper_32b.h cnst.h acelp.h count.h
  60. hp6k.o: typedef.h basic_op.h acelp.h count.h cnst.h
  61. hp_wsp.o: typedef.h basic_op.h oper_32b.h acelp.h count.h
  62. int_lpc.o: typedef.h basic_op.h cnst.h acelp.h count.h
  63. isfextrp.o: typedef.h basic_op.h oper_32b.h cnst.h acelp.h count.h
  64. isp_az.o: typedef.h basic_op.h oper_32b.h count.h cnst.h
  65. isp_isf.o: typedef.h basic_op.h count.h
  66. lagconc.o: typedef.h basic_op.h count.h cnst.h acelp.h
  67. lag_wind.o: typedef.h basic_op.h oper_32b.h
  68. levinson.o: typedef.h basic_op.h oper_32b.h acelp.h count.h
  69. lp_dec2.o: typedef.h basic_op.h count.h cnst.h
  70. math_op.o: typedef.h basic_op.h math_op.h count.h
  71. ph_disp.o: typedef.h basic_op.h cnst.h acelp.h count.h
  72. pitch_f4.o: typedef.h basic_op.h math_op.h acelp.h cnst.h count.h
  73. pit_shrp.o: typedef.h basic_op.h count.h
  74. pred_lt4.o: typedef.h basic_op.h count.h
  75. preemph.o: typedef.h basic_op.h count.h
  76. p_med_ol.o: typedef.h basic_op.h acelp.h oper_32b.h count.h math_op.h
  77. qisf_ns.o: typedef.h basic_op.h acelp.h count.h
  78. qpisf_2s.o: typedef.h basic_op.h cnst.h acelp.h count.h
  79. q_gain2.o: typedef.h basic_op.h oper_32b.h math_op.h count.h log2.h acelp.h
  80. q_pulse.o: typedef.h basic_op.h count.h q_pulse.h
  81. random.o: typedef.h basic_op.h count.h
  82. residu.o: typedef.h basic_op.h count.h
  83. scale.o: typedef.h basic_op.h count.h
  84. syn_filt.o: typedef.h basic_op.h math_op.h count.h cnst.h
  85. updt_tar.o: typedef.h basic_op.h count.h
  86. util.o: typedef.h basic_op.h count.h
  87. voicefac.o: typedef.h basic_op.h math_op.h count.h
  88. wb_vad.o: cnst.h wb_vad.h typedef.h basic_op.h count.h math_op.h wb_vad_c.h
  89. weight_a.o: typedef.h basic_op.h count.h
  90. agc2.o: cnst.h acelp.h typedef.h basic_op.h count.h math_op.h
  91. hp7k.o: typedef.h basic_op.h cnst.h acelp.h count.h
  92. decoder.o: typedef.h basic_op.h acelp.h cnst.h main.h bits.h dtx.h count.h
  93. coder.o: typedef.h basic_op.h acelp.h cnst.h main.h bits.h count.h cod_main.h