![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
12 lines
400 B
Makefile
12 lines
400 B
Makefile
Debug_Obj=$(addprefix bin/debug/,$(Obj))
|
|
|
|
debug: bin/debug/musique
|
|
|
|
bin/debug/musique: $(Debug_Obj) bin/debug/main.o bin/bestline.o include/*.hh
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $(Debug_Obj) bin/bestline.o bin/debug/main.o $(LDFLAGS) $(LDLIBS)
|
|
|
|
bin/debug/%.o: musique/%.cc include/*.hh
|
|
@echo "CXX $@"
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $< -c
|