![Robert Bendun](/assets/img/avatar_default.png)
include/musique.hh was getting large and musique_internal.hh emerged to help with that. Header file separation become a huge mess. The chosen approach is one hierarchy containing both header and implementation files
10 lines
351 B
Makefile
10 lines
351 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 lib/midi/libmidi-alsa.a
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $(Release_Obj) bin/bestline.o bin/main.o $(LDFLAGS) $(LDLIBS)
|