Initial content commit

This commit is contained in:
hirsch 2016-06-12 18:08:57 -04:00
parent 083800bfb6
commit 629f5ebab6
8 changed files with 3328 additions and 0 deletions

27
Makefile Normal file
View file

@ -0,0 +1,27 @@
SRC = $(wildcard *.cpp)
OBJ = $(subst .cpp,.o,$(SRC))
DEP = $(subst .cpp,.d,$(SRC))
# The -M* switches automatically generate .d dependency files
CPPFLAGS += -MP -MMD $(INCDIRS)
LDLIBS = -ljack -lrtmidi -lusb-1.0
BIN = mustang_midi
opt: CXXFLAGS += -O3 -DNDEBUG
opt: $(BIN)
debug: CXXFLAGS += -g -DDEBUG
debug: $(BIN)
$(BIN): $(OBJ)
$(CXX) $^ -o $@ $(LDLIBS)
clean:
rm -f $(DEP) $(OBJ) $(BIN)
-include $(SRC:.cpp=.d)