diff options
author | erdgeist@erdgeist.org <erdgeist@bauklotz.fritz.box> | 2019-07-04 23:26:09 +0200 |
---|---|---|
committer | erdgeist@erdgeist.org <erdgeist@bauklotz.fritz.box> | 2019-07-04 23:26:09 +0200 |
commit | f02dfce6e6c34b3d8a7b8a0e784b506178e331fa (patch) | |
tree | 45556e6104242d4702689760433d7321ae74ec17 /Makefile |
stripdown of version 0.9
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a716871 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,17 @@ | |||
1 | CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I. | ||
2 | CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS | ||
3 | CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers | ||
4 | |||
5 | LIBSRC=codebook.c codebookd.c codebookge.c codebookmel.c codebooklspmelvq.c codebookjvm.c \ | ||
6 | codebooknewamp1.c codebooknewamp1_energy.c codebooknewamp2.c codebooknewamp2_energy.c \ | ||
7 | codec2.c codec2_fft.c interp.c kiss_fft.c kiss_fftr.c lpc.c lsp.c mbest.c \ | ||
8 | newamp1.c newamp2.c nlp.c pack.c phase.c postfilter.c quantise.c sine.c | ||
9 | |||
10 | all: main | ||
11 | |||
12 | main: main.c $(LIBSRC) | ||
13 | clang $(CFLAGS) -o $@ $^ | ||
14 | |||
15 | .PHONY: clean | ||
16 | clean: | ||
17 | rm -f main | ||