diff --git a/plugins/Makefile b/plugins/Makefile index ccb28f6..46e5a4a 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -529,7 +529,8 @@ PLUGIN_FILES += $(filter-out Prism/src/plugin.cpp, $(wildcard Prism/src/*.cpp)) PLUGIN_FILES += $(wildcard Prism/src/scales/*.cpp) # modules/types which are present in other plugins -PRISM_CUSTOM = bogaudio Scale FilterSetting +PRISM_CUSTOM = bogaudio FilterSetting Scale +PRISM_CUSTOM_PER_FILE = PrismFilterSetting # -------------------------------------------------------------- # rackwindows @@ -1149,6 +1150,7 @@ $(BUILD_DIR)/Prism/%.cpp.o: Prism/%.cpp @echo "Compiling $<" $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \ $(foreach m,$(PRISM_CUSTOM),$(call custom_module_names,$(m),Prism)) \ + $(foreach m,$(PRISM_CUSTOM_PER_FILE),$(call custom_per_file_names,$(m),Prism_$(shell basename $*))) \ -DpluginInstance=pluginInstance__Prism \ $(BUILD_DIR)/rackwindows/%.cpp.o: rackwindows/%.cpp