Skip to content

Instantly share code, notes, and snippets.

Created June 25, 2009 00:50
Show Gist options
  • Save anonymous/135618 to your computer and use it in GitHub Desktop.
Save anonymous/135618 to your computer and use it in GitHub Desktop.
diff -rupN swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4.old/extra.mk swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c\
4/extra.mk
--- swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4.old/extra.mk 2009-06-19 18:27:28.000000000 -0400
+++ swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4/extra.mk 2009-06-24 20:00:07.000000000 -0400
@@ -1,6 +1,6 @@
-analogue_osc_LDFLAGS = util/blo.o
-fm_osc_LDFLAGS = util/blo.o
-hermes_filter_LDFLAGS = util/blo.o
+analogue_osc_LDFLAGS = util/blo.o -lrt
+fm_osc_LDFLAGS = util/blo.o -lrt
+hermes_filter_LDFLAGS = util/blo.o -lrt
bandpass_iir_LDFLAGS = util/iir.o
bandpass_a_iir_LDFLAGS = util/iir.o
@@ -21,3 +21,6 @@ se4_LDFLAGS = util/db.o util/rms.o
mbeq_CFLAGS = `pkg-config fftw3f --cflags`
mbeq_LDFLAGS = `pkg-config fftw3f --libs`
+
+pitch_scale_CFLAGS = `pkg-config fftw3f --cflags`
+pitch_scale_LDFLAGS = util/pitchscale.o `pkg-config fftw3f --libs`
\ No newline at end of file
diff -rupN swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4.old/Makefile swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c\
4/Makefile
--- swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4.old/Makefile 2009-06-19 18:27:28.000000000 -0400
+++ swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4/Makefile 2009-06-24 20:01:24.000000000 -0400
@@ -44,8 +44,8 @@ PLUGIN_LDFLAGS = -arch i386 -arch ppc -d
BUILD_PLUGINS = $(PLUGINS)
else
EXT = so
-PLUGIN_CFLAGS = -Wall -I. -Iinclude -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fPIC -DPIC $(CFLAGS)
-PLUGIN_LDFLAGS = -shared $(LDFLAGS)
+PLUGIN_CFLAGS = -Wall -I. -Iinclude -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fPIC -DPIC -DFFTW3 $(CFL\
AGS)
+PLUGIN_LDFLAGS = -shared -lm $(LDFLAGS)
BUILD_PLUGINS = $(PLUGINS) $(FFT_PLUGINS)
endif
@@ -56,7 +56,7 @@ all: util gverb $(OBJECTS)
gverb: gverb/gverb.c gverb/gverbdsp.c gverb/gverb.o gverb/gverbdsp.o
(cd gverb && make -w CFLAGS="$(PLUGIN_CFLAGS)" LDFLAGS="$(PLUGIN_LDFLAGS)")
-util: util/blo.o util/iir.o util/db.o util/rms.o
+util: util/blo.o util/iir.o util/db.o util/rms.o util/pitchscale.o
%.c: OBJ = $(shell echo $@ | sed 's/\.c$$/-@OS@.$(EXT)/')
%.c: %.xml xslt/source.xsl xslt/manifest.xsl
diff -rupN swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4.old/util/pitchscale.c swh-lv2-d8f2dc5143437a340d404cfb8e819b\
c71c9b77c4/util/pitchscale.c
--- swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4.old/util/pitchscale.c 2009-06-19 18:27:28.000000000 -0400
+++ swh-lv2-d8f2dc5143437a340d404cfb8e819bc71c9b77c4/util/pitchscale.c 2009-06-24 20:01:48.000000000 -0400
@@ -36,7 +36,7 @@
*****************************************************************************/
#include <string.h>
-#include "../config.h"
+
#include <math.h>
#include "pitchscale.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment