diff options
author | Florian Jung <flo@thinkpad.(none)> | 2010-12-31 16:33:17 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2010-12-31 16:33:17 +0100 |
commit | ff2f14ab35cf1cb2ded11b4ae86d24dda738b445 (patch) | |
tree | 3e35d112243bf987f66359a53e4ff9261bdc6d1b /note_compiler/Makefile | |
parent | d46f6ee0a6298ff58c6f4f0647d49fb4a76f9ea9 (diff) |
Add initial code for the note-compiler
The note-compiler now has a Parser class which knows about possible
parameter changes (by controller, velocity or simply user definition).
Furthermore, several files were adapted (by stripping unneeded code,
adding the bool foo_const variables etc.).
Small fix in util.c which causes extract_var("foo") to return "foo"
instead of "".
Fixes in both Makefiles.
Diffstat (limited to 'note_compiler/Makefile')
-rw-r--r-- | note_compiler/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/note_compiler/Makefile b/note_compiler/Makefile index bc51697..6a08b81 100644 --- a/note_compiler/Makefile +++ b/note_compiler/Makefile @@ -1,8 +1,9 @@ CXX=g++ -CXXFLAGS=-Wall -g -LDFLAGS=-lm +CFLAGS=-Wall -g +CXXFLAGS=$(CFLAGS) +LDFLAGS=-lm `pkg-config --cflags --libs jack` -OBJ=main.o +OBJ=main.o parser.o util.o BIN=compiler DEPENDFILE = .depend @@ -14,7 +15,7 @@ all: $(BIN) $(BIN): $(OBJ) - $(CXX) $(CFLAGS) -o $(BIN) $(OBJ) $(LDFLAGS) + $(CXX) $(CXXFLAGS) -o $(BIN) $(OBJ) $(LDFLAGS) depend dep: $(SRC) |