Browse Source

Tweak dpf plugins build, always set namespace (default, ok here)

Signed-off-by: falkTX <falktx@falktx.com>
develop
falkTX 6 months ago
parent
commit
edebaabb12
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 11 additions and 8 deletions
  1. +11
    -8
      Makefile.mk2

+ 11
- 8
Makefile.mk2 View File

@@ -32,6 +32,9 @@ OBJS += \
$(OBJDIR)/distrho-vectorjuice.cpp.o \
$(OBJDIR)/distrho-wobblejuice.cpp.o

DPF_FLAGS += -DSTATIC_BUILD
DPF_FLAGS += -UDONT_SET_USING_DGL_NAMESPACE

# ---------------------------------------------------------------------------------------------------------------------
# ZynAddSubFX

@@ -101,44 +104,44 @@ external/zynaddsubfx/UI/%.h: external/zynaddsubfx/UI/%.fl
$(OBJDIR)/distrho-3bandeq.cpp.o: external/distrho-3bandeq.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=d3BandEQ -Iexternal/distrho-3bandeq -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=d3BandEQ -Iexternal/distrho-3bandeq -c -o $@

$(OBJDIR)/distrho-3bandsplitter.cpp.o: external/distrho-3bandsplitter.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=d3BandSplitter -Iexternal/distrho-3bandsplitter -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=d3BandSplitter -Iexternal/distrho-3bandsplitter -c -o $@

$(OBJDIR)/distrho-kars.cpp.o: external/distrho-kars.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=dKars -Iexternal/distrho-kars -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=dKars -Iexternal/distrho-kars -c -o $@

$(OBJDIR)/distrho-nekobi.cpp.o: external/distrho-nekobi.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=dNekobi -Iexternal/distrho-nekobi -w -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=dNekobi -Iexternal/distrho-nekobi -w -c -o $@

$(OBJDIR)/distrho-pingpongpan.cpp.o: external/distrho-pingpongpan.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=dPingPongPan -Iexternal/distrho-pingpongpan -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=dPingPongPan -Iexternal/distrho-pingpongpan -c -o $@

$(OBJDIR)/distrho-prom.cpp.o: external/distrho-prom.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) $(PROJECTM_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=dProM -Iexternal/distrho-prom -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) $(PROJECTM_FLAGS) -DDISTRHO_NAMESPACE=dProM -Iexternal/distrho-prom -c -o $@

# ---------------------------------------------------------------------------------------------------------------------

$(OBJDIR)/distrho-vectorjuice.cpp.o: external/distrho-vectorjuice.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=dVectorJuice -Iexternal/distrho-vectorjuice -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=dVectorJuice -Iexternal/distrho-vectorjuice -c -o $@

$(OBJDIR)/distrho-wobblejuice.cpp.o: external/distrho-wobblejuice.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DSTATIC_BUILD -DDISTRHO_NAMESPACE=dWobbleJuice -Iexternal/distrho-wobblejuice -c -o $@
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(DPF_FLAGS) -DDISTRHO_NAMESPACE=dWobbleJuice -Iexternal/distrho-wobblejuice -c -o $@

# ---------------------------------------------------------------------------------------------------------------------



Loading…
Cancel
Save