Browse Source

Add pffft and fftpack to Rack

tags/v0.6.1
Andrew Belt 4 years ago
parent
commit
fdce2724d4
3 changed files with 9 additions and 2 deletions
  1. +1
    -0
      Makefile
  2. +1
    -1
      dep.mk
  3. +7
    -1
      dep/Makefile

+ 1
- 0
Makefile View File

@@ -13,6 +13,7 @@ STRIP ?= strip

SOURCES += dep/nanovg/src/nanovg.c
SOURCES += dep/osdialog/osdialog.c
SOURCES += $(wildcard dep/jpommier-pffft-*/pffft.c) $(wildcard dep/jpommier-pffft-*/fftpack.c)
SOURCES += $(wildcard src/*.cpp src/*/*.cpp)

ifdef ARCH_MAC


+ 1
- 1
dep.mk View File

@@ -15,7 +15,7 @@ DEP_CXXFLAGS += $(DEP_FLAGS)
# Commands
WGET := wget -c
UNTAR := tar xf
UNZIP := unzip
UNZIP := unzip -o
CONFIGURE := ./configure --prefix="$(realpath $(DEP_LOCAL))"
ifeq ($(ARCH), win)
CMAKE := cmake -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX="$(realpath $(DEP_LOCAL))"


+ 7
- 1
dep/Makefile View File

@@ -49,8 +49,9 @@ nanovg = include/nanovg.h
nanosvg = include/nanosvg.h
oui-blendish = include/blendish.h
osdialog = include/osdialog.h
pffft = include/pffft.h

DEPS += $(glew) $(glfw) $(jansson) $(libspeexdsp) $(libcurl) $(libzip) $(rtmidi) $(rtaudio) $(nanovg) $(nanosvg) $(oui-blendish) $(osdialog)
DEPS += $(glew) $(glfw) $(jansson) $(libspeexdsp) $(libcurl) $(libzip) $(rtmidi) $(rtaudio) $(nanovg) $(nanosvg) $(oui-blendish) $(osdialog) $(pffft)
include $(RACK_DIR)/dep.mk


@@ -158,6 +159,11 @@ $(oui-blendish): $(wildcard oui-blendish/*.h)
$(osdialog): $(wildcard osdialog/*.h)
cp $^ include/

$(pffft):
$(WGET) "https://bitbucket.org/jpommier/pffft/get/29e4f76ac53b.zip"
$(UNZIP) 29e4f76ac53b.zip
cp jpommier-pffft-29e4f76ac53b/*.h include/

clean:
git clean -fdx
git submodule foreach git clean -fdx

Loading…
Cancel
Save