![Robert Bendun](/assets/img/avatar_default.png)
This should allow for easy support for other operating systems and other Linux sound systems like Jack in the future
10 lines
342 B
Makefile
10 lines
342 B
Makefile
Release_Obj=$(addprefix bin/,$(Obj))
|
|
|
|
bin/%.o: musique/%.cc
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $< -c
|
|
|
|
bin/musique: $(Release_Obj) bin/main.o bin/bestline.o bin/rtmidi.o
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $(Release_Obj) bin/bestline.o bin/rtmidi.o $(LDFLAGS) $(LDLIBS)
|