summaryrefslogtreecommitdiff
path: root/cad/basicdsp/files/patch-Makefile
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2008-08-17 20:22:21 +0000
committerDiane Bruce <db@FreeBSD.org>2008-08-17 20:22:21 +0000
commit4f21024b902b0ffa72685a164a5ef4d27e0a49b2 (patch)
tree13e97d3d3f30f64a4f5a938e4ed7224b57050e68 /cad/basicdsp/files/patch-Makefile
parentMosh is A Fast R6RS Scheme interpreter. (diff)
BasicDSP is an educational tool that makes it easy to experiment with simple
Digital Signal Processing algorithms for audio signals. The input can either be taken from the sound card, or be a locally generated sine wave, white noise or impulse signal. The output is fed to the sound card, as well as to a virtual oscilloscope and spectrum analyzer.
Diffstat (limited to 'cad/basicdsp/files/patch-Makefile')
-rw-r--r--cad/basicdsp/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/cad/basicdsp/files/patch-Makefile b/cad/basicdsp/files/patch-Makefile
new file mode 100644
index 000000000000..ef61085c2c97
--- /dev/null
+++ b/cad/basicdsp/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig 2007-12-02 17:18:59.000000000 -0500
++++ Makefile 2008-08-14 10:13:05.000000000 -0400
+@@ -1,5 +1,5 @@
+-CXXFLAGS = -O9 -g -Wall `wx-config --cxxflags` -g -Wall -pg
+-LDFLAGS = `wx-config --libs` -lm -g -pg
++CXXFLAGS += -Wall `%%WX_CONFIG%% --cxxflags --unicode=yes`
++LDFLAGS = `%%WX_CONFIG%% --libs --unicode=yes` -lm
+
+ OBJS = aboutdialog.o book.o core.o displayslider.o graphframe.o gui.o linux.o vu_meter.o spectrumplot.o fft4g.o wav_streamer.o
+
+@@ -11,5 +11,5 @@
+ ./mkhelp > help.h
+
+ basicdsp: help.h $(OBJS)
+- g++ $(LDFLAGS) $(OBJS) -o basicdsp
++ ${CXX} $(LDFLAGS) $(OBJS) -o basicdsp
+