summaryrefslogtreecommitdiffstats
path: root/cad/basicdsp/files/patch-Makefile
diff options
context:
space:
mode:
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 0000000..ef61085
--- /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
+
OpenPOWER on IntegriCloud