summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorerdgeist@erdgeist.org <erdgeist@bauklotz.fritz.box>2019-07-04 23:26:09 +0200
committererdgeist@erdgeist.org <erdgeist@bauklotz.fritz.box>2019-07-04 23:26:09 +0200
commitf02dfce6e6c34b3d8a7b8a0e784b506178e331fa (patch)
tree45556e6104242d4702689760433d7321ae74ec17 /Makefile
stripdown of version 0.9
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
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 @@
1CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I.
2CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS
3CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers
4
5LIBSRC=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
10all: main
11
12main: main.c $(LIBSRC)
13 clang $(CFLAGS) -o $@ $^
14
15.PHONY: clean
16clean:
17 rm -f main