2023-01-30 14:59:14 +01:00
|
|
|
Release_Obj=$(addprefix bin/$(os)/,$(Obj)) bin/$(os)/builtin_function_documentation.o
|
2022-10-14 16:43:13 +02:00
|
|
|
|
2023-03-04 16:39:16 +01:00
|
|
|
# bin/$(os)/libreplxx.a:
|
|
|
|
# @CXX=$(CXX) os=$(os) scripts/build_replxx.sh
|
2022-10-14 16:43:13 +02:00
|
|
|
|
|
|
|
bin/$(os)/%.o: musique/%.cc
|
|
|
|
@echo "CXX $@"
|
|
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $< -c
|
|
|
|
|
2023-03-04 16:39:16 +01:00
|
|
|
bin/$(os)/$(Target): $(Release_Obj) bin/$(os)/main.o bin/$(os)/rtmidi.o
|
2022-10-14 16:43:13 +02:00
|
|
|
@echo "CXX $@"
|
2023-03-04 16:39:16 +01:00
|
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $(shell CXX=$(CXX) os=$(os) scripts/build_replxx.sh) $(Release_Obj) bin/$(os)/rtmidi.o $(LDFLAGS) $(LDLIBS)
|
2022-10-14 16:43:13 +02:00
|
|
|
|
2023-01-30 14:59:14 +01:00
|
|
|
bin/$(os)/builtin_function_documentation.o: bin/$(os)/builtin_function_documentation.cc
|
|
|
|
@echo "CXX $@"
|
|
|
|
@$(CXX) $(CXXFLAGS) $(RELEASE_FLAGS) $(CPPFLAGS) -o $@ $< -c
|
|
|
|
|
|
|
|
bin/$(os)/builtin_function_documentation.cc: musique/interpreter/builtin_functions.cc scripts/document-builtin.py
|
|
|
|
scripts/document-builtin.py -f cpp -o $@ musique/interpreter/builtin_functions.cc
|
|
|
|
|
|
|
|
Debug_Obj=$(addprefix bin/$(os)/debug/,$(Obj)) bin/$(os)/debug/builtin_function_documentation.o
|
2022-10-14 16:43:13 +02:00
|
|
|
|
2023-03-05 01:24:09 +01:00
|
|
|
bin/$(os)/debug/$(Target): $(Debug_Obj) bin/$(os)/debug/main.o bin/$(os)/rtmidi.o
|
2022-10-14 16:43:13 +02:00
|
|
|
@echo "CXX $@"
|
2023-03-05 01:24:09 +01:00
|
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $(Debug_Obj) bin/$(os)/rtmidi.o $(shell CXX=$(CXX) os=$(os) scripts/build_replxx.sh) $(LDFLAGS) $(LDLIBS)
|
2022-10-14 16:43:13 +02:00
|
|
|
|
|
|
|
bin/$(os)/debug/%.o: musique/%.cc
|
|
|
|
@echo "CXX $@"
|
|
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $< -c
|
|
|
|
|
2023-03-05 01:18:41 +01:00
|
|
|
|
2023-01-30 14:59:14 +01:00
|
|
|
bin/$(os)/debug/builtin_function_documentation.o: bin/$(os)/builtin_function_documentation.cc
|
|
|
|
@echo "CXX $@"
|
|
|
|
@$(CXX) $(CXXFLAGS) $(DEBUG_FLAGS) $(CPPFLAGS) -o $@ $< -c
|
2023-03-05 01:18:41 +01:00
|
|
|
|
2023-02-22 02:38:46 +01:00
|
|
|
# http://www.music.mcgill.ca/~gary/rtmidi/#compiling
|
|
|
|
bin/$(os)/rtmidi.o: lib/rtmidi/RtMidi.cpp lib/rtmidi/RtMidi.h
|
|
|
|
@echo "CXX $@"
|
|
|
|
@$(CXX) $< -c -O2 -o $@ $(CPPFLAGS) -std=c++20
|
2023-03-05 01:18:41 +01:00
|
|
|
|