diff options
| author | Frank Gevaerts <frank@gevaerts.be> | 2010-02-10 19:44:11 +0000 |
|---|---|---|
| committer | Frank Gevaerts <frank@gevaerts.be> | 2010-02-10 19:44:11 +0000 |
| commit | 43264a946f0222e49ac2c10da7d00b36efc3f40e (patch) | |
| tree | d0ef77e8280819bfc23f9ef101e1374011ad6e1b /apps/plugins/fft/fft.make | |
| parent | fa4ab10bbbd5b3588bc0e7057b338d1068939fda (diff) | |
| download | rockbox-43264a946f0222e49ac2c10da7d00b36efc3f40e.zip rockbox-43264a946f0222e49ac2c10da7d00b36efc3f40e.tar.gz rockbox-43264a946f0222e49ac2c10da7d00b36efc3f40e.tar.bz2 rockbox-43264a946f0222e49ac2c10da7d00b36efc3f40e.tar.xz | |
New plugin: FFT, A frequency analyzer plugin
There is some more work needed:
- Keymaps are definitely not perfect, touchscreen targets are disabled due to no keymap
- There is no manual yet
Author: Delyan Kratunov
Flyspray: FS#10065
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24587 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fft/fft.make')
| -rw-r--r-- | apps/plugins/fft/fft.make | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/plugins/fft/fft.make b/apps/plugins/fft/fft.make new file mode 100644 index 0000000..b14566c --- /dev/null +++ b/apps/plugins/fft/fft.make @@ -0,0 +1,27 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +FFTSRCDIR := $(APPSDIR)/plugins/fft +FFTBUILDDIR := $(BUILDDIR)/apps/plugins/fft + +ROCKS += $(FFTBUILDDIR)/fft.rock + +FFT_SRC := $(call preprocess, $(FFTSRCDIR)/SOURCES) +FFT_OBJ := $(call c2obj, $(FFT_SRC)) + +# add source files to OTHER_SRC to get automatic dependencies +OTHER_SRC += $(FFT_SRC) + +FFTFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 -DFIXED_POINT=16 + +$(FFTBUILDDIR)/fft.rock: $(FFT_OBJ) + +$(FFTBUILDDIR)/%.o: $(FFTSRCDIR)/%.c $(FFTSRCDIR)/fft.make + $(SILENT)mkdir -p $(dir $@) + $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(FFTFLAGS) -c $< -o $@ |