summaryrefslogtreecommitdiff
path: root/synth
diff options
context:
space:
mode:
Diffstat (limited to 'synth')
-rw-r--r--synth/Makefile3
-rw-r--r--synth/util.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/synth/Makefile b/synth/Makefile
index 7146da2..f84441c 100644
--- a/synth/Makefile
+++ b/synth/Makefile
@@ -1,5 +1,6 @@
CXX=g++
-CXXFLAGS=-Wall -g
+CFLAGS=-Wall -g
+CXXFLAGS=$(CFLAGS)
LDFLAGS=-lm `pkg-config --cflags --libs jack`
OBJ=channel.o cli.o defines.o envelope.o filter.o globals.o jack.o load.o main.o note.o note_skel.o parser.o programs.o readwave.o util.o
diff --git a/synth/util.cpp b/synth/util.cpp
index ca213fd..51e6fda 100644
--- a/synth/util.cpp
+++ b/synth/util.cpp
@@ -192,7 +192,7 @@ string extract_val(string s)
if (p!=string::npos)
return s.substr(p+1);
else
- return "";
+ return s;
}
string fileext(string f)