2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 FFTSRCDIR
:= $(APPSDIR
)/plugins
/fft
11 FFTBUILDDIR
:= $(BUILDDIR
)/apps
/plugins
/fft
13 ROCKS
+= $(FFTBUILDDIR
)/fft.rock
15 FFT_SRC
:= $(call preprocess
, $(FFTSRCDIR
)/SOURCES
)
16 FFT_OBJ
:= $(call c2obj
, $(FFT_SRC
))
18 # add source files to OTHER_SRC to get automatic dependencies
19 OTHER_SRC
+= $(FFT_SRC
)
21 FFTFLAGS
= $(filter-out -O
%,$(PLUGINFLAGS
)) -O3
-DFIXED_POINT
=16
23 $(FFTBUILDDIR
)/fft.rock
: $(FFT_OBJ
)
25 $(FFTBUILDDIR
)/%.o
: $(FFTSRCDIR
)/%.c
$(FFTSRCDIR
)/fft.make
26 $(SILENT
)mkdir
-p
$(dir $@
)
27 $(call PRINTS
,CC
$(subst $(ROOTDIR
)/,,$<))$(CC
) -I
$(dir $<) $(FFTFLAGS
) -c
$< -o
$@