| OLD | NEW |
| 1 #################### COMPILE OPTIONS ####################### | 1 #################### COMPILE OPTIONS ####################### |
| 2 | 2 |
| 3 # Uncomment this for fixed-point build | 3 # Uncomment this for fixed-point build |
| 4 FIXED_POINT=1 | 4 FIXED_POINT=1 |
| 5 | 5 |
| 6 # It is strongly recommended to uncomment one of these | 6 # It is strongly recommended to uncomment one of these |
| 7 # VAR_ARRAYS: Use C99 variable-length arrays for stack allocation | 7 # VAR_ARRAYS: Use C99 variable-length arrays for stack allocation |
| 8 # USE_ALLOCA: Use alloca() for stack allocation | 8 # USE_ALLOCA: Use alloca() for stack allocation |
| 9 # If none is defined, then the fallback is a non-threadsafe global array | 9 # If none is defined, then the fallback is a non-threadsafe global array |
| 10 CFLAGS := -DUSE_ALLOCA $(CFLAGS) | 10 CFLAGS := -DUSE_ALLOCA $(CFLAGS) |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 OPUSDEMO_SRCS_C = src/opus_demo.c | 93 OPUSDEMO_SRCS_C = src/opus_demo.c |
| 94 OPUSDEMO_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(OPUSDEMO_SRCS_C)) | 94 OPUSDEMO_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(OPUSDEMO_SRCS_C)) |
| 95 | 95 |
| 96 TESTOPUSAPI_SRCS_C = tests/test_opus_api.c | 96 TESTOPUSAPI_SRCS_C = tests/test_opus_api.c |
| 97 TESTOPUSAPI_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSAPI_SRCS_C)) | 97 TESTOPUSAPI_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSAPI_SRCS_C)) |
| 98 | 98 |
| 99 TESTOPUSDECODE_SRCS_C = tests/test_opus_decode.c | 99 TESTOPUSDECODE_SRCS_C = tests/test_opus_decode.c |
| 100 TESTOPUSDECODE_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSDECODE_SRCS_C)) | 100 TESTOPUSDECODE_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSDECODE_SRCS_C)) |
| 101 | 101 |
| 102 TESTOPUSENCODE_SRCS_C = tests/test_opus_encode.c | 102 TESTOPUSENCODE_SRCS_C = tests/test_opus_encode.c tests/opus_encode_regressions.c |
| 103 TESTOPUSENCODE_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSENCODE_SRCS_C)) | 103 TESTOPUSENCODE_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSENCODE_SRCS_C)) |
| 104 | 104 |
| 105 TESTOPUSPADDING_SRCS_C = tests/test_opus_padding.c | 105 TESTOPUSPADDING_SRCS_C = tests/test_opus_padding.c |
| 106 TESTOPUSPADDING_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSPADDING_SRCS_C)) | 106 TESTOPUSPADDING_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUSPADDING_SRCS_C)) |
| 107 | 107 |
| 108 OPUSCOMPARE_SRCS_C = src/opus_compare.c | 108 OPUSCOMPARE_SRCS_C = src/opus_compare.c |
| 109 OPUSCOMPARE_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(OPUSCOMPARE_SRCS_C)) | 109 OPUSCOMPARE_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(OPUSCOMPARE_SRCS_C)) |
| 110 | 110 |
| 111 TESTS := test_opus_api test_opus_decode test_opus_encode test_opus_padding | 111 TESTS := test_opus_api test_opus_decode test_opus_encode test_opus_padding |
| 112 | 112 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 force: | 152 force: |
| 153 | 153 |
| 154 clean: | 154 clean: |
| 155 rm -f opus_demo$(EXESUFFIX) opus_compare$(EXESUFFIX) $(TARGET) \ | 155 rm -f opus_demo$(EXESUFFIX) opus_compare$(EXESUFFIX) $(TARGET) \ |
| 156 test_opus_api$(EXESUFFIX) test_opus_decode$(EXESUFFIX) \ | 156 test_opus_api$(EXESUFFIX) test_opus_decode$(EXESUFFIX) \ |
| 157 test_opus_encode$(EXESUFFIX) test_opus_padding$(EXESUFFIX) \ | 157 test_opus_encode$(EXESUFFIX) test_opus_padding$(EXESUFFIX) \ |
| 158 $(OBJS) $(OPUSDEMO_OBJS) $(OPUSCOMPARE_OBJS) $(TESTOPUSAPI_OBJS)
\ | 158 $(OBJS) $(OPUSDEMO_OBJS) $(OPUSCOMPARE_OBJS) $(TESTOPUSAPI_OBJS)
\ |
| 159 $(TESTOPUSDECODE_OBJS) $(TESTOPUSENCODE_OBJS) $(TESTOPUSPADDING_
OBJS) | 159 $(TESTOPUSDECODE_OBJS) $(TESTOPUSENCODE_OBJS) $(TESTOPUSPADDING_
OBJS) |
| 160 | 160 |
| 161 .PHONY: all lib clean force check | 161 .PHONY: all lib clean force check |
| OLD | NEW |