From f02dfce6e6c34b3d8a7b8a0e784b506178e331fa Mon Sep 17 00:00:00 2001 From: "erdgeist@erdgeist.org" Date: Thu, 4 Jul 2019 23:26:09 +0200 Subject: stripdown of version 0.9 --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a716871 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +CFLAGS = -Wall -Wno-strict-overflow -std=gnu11 -fPIC -g -O2 -I. +CFLAGS += -DHORUS_L2_RX -DINTERLEAVER -DRUN_TIME_TABLES -DSCRAMBLER -Dcodec2_EXPORTS +CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers + +LIBSRC=codebook.c codebookd.c codebookge.c codebookmel.c codebooklspmelvq.c codebookjvm.c \ + codebooknewamp1.c codebooknewamp1_energy.c codebooknewamp2.c codebooknewamp2_energy.c \ + codec2.c codec2_fft.c interp.c kiss_fft.c kiss_fftr.c lpc.c lsp.c mbest.c \ + newamp1.c newamp2.c nlp.c pack.c phase.c postfilter.c quantise.c sine.c + +all: main + +main: main.c $(LIBSRC) + clang $(CFLAGS) -o $@ $^ + +.PHONY: clean +clean: + rm -f main -- cgit v1.2.3