Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-26 03:20:58 +00:00
parent 1be5c7954a
commit 7a3cdb9b0f
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
6 changed files with 118 additions and 0 deletions

View file

@ -681,6 +681,14 @@ PLUGIN_FILES += $(wildcard mscHack/src/*.cpp)
# modules/types which are present in other plugins
MSCHACK_CUSTOM_PER_FILE = MAIN_SYNC_CLOCK FILTER_STRUCT FILTER_PARAM_STRUCT OSC_PARAM_STRUCT PHRASE_CHANGE_STRUCT
# --------------------------------------------------------------
# MSM
PLUGIN_FILES += $(filter-out MSM/src/MSM.cpp,$(wildcard MSM/src/*.cpp))
# modules/types which are present in other plugins
MSM_CUSTOM = ADSR BlankPanel Delay LFO Mult Noise VCA VCO sawTable triTable
# --------------------------------------------------------------
# Orbits
@ -1565,6 +1573,14 @@ $(BUILD_DIR)/mscHack/%.cpp.o: mscHack/%.cpp
-Wno-non-c-typedef-for-linkage \
-Wno-unused-but-set-variable
$(BUILD_DIR)/MSM/%.cpp.o: MSM/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(MSM_CUSTOM),$(call custom_module_names,$(m),MSM)) \
-DpluginInstance=pluginInstance__MSM \
-DDARKTHEME
$(BUILD_DIR)/Orbits/%.cpp.o: Orbits/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"