Initial content commit
This commit is contained in:
parent
083800bfb6
commit
629f5ebab6
8 changed files with 3328 additions and 0 deletions
27
Makefile
Normal file
27
Makefile
Normal 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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue