2022-08-18 22:58:41 +02:00
|
|
|
Debug_Obj=$(addprefix bin/debug/,$(Obj))
|
|
|
|
|
|
|
|
debug: bin/debug/musique
|
|
|
|
|
2022-09-23 18:55:25 +02:00
|
|
|
bin/debug/musique: $(Debug_Obj) bin/debug/main.o bin/bestline.o
|
2022-08-18 22:58:41 +02:00
|
|
|
@echo "CXX $@"
|
2022-09-23 18:55:25 +02:00
|
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $(Debug_Obj) bin/bestline.o $(LDFLAGS) $(LDLIBS)
|
2022-08-18 22:58:41 +02:00
|
|
|
|
2022-09-23 18:55:25 +02:00
|
|
|
bin/debug/%.o: musique/%.cc
|
2022-08-18 22:58:41 +02:00
|
|
|
@echo "CXX $@"
|
|
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $< -c
|