DISTRHO Plugin Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.1KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX, Christopher Arndt, and Patrick Desaulniers
  5. #
  6. # --------------------------------------------------------------
  7. # Project name, used for binaries
  8. NAME = d_ImguiSimpleGain
  9. # --------------------------------------------------------------
  10. # Files to build
  11. FILES_DSP = \
  12. PluginSimpleGain.cpp
  13. FILES_UI = \
  14. UISimpleGain.cpp \
  15. ImGuiUI.cpp \
  16. ImGuiSrc.cpp
  17. # --------------------------------------------------------------
  18. # Do some magic
  19. include ../../Makefile.plugins.mk
  20. BUILD_CXX_FLAGS += -I../../../imgui -I../../../imgui/backends
  21. BUILD_CXX_FLAGS += $(shell $(PKG_CONFIG) glew --cflags)
  22. LINK_FLAGS += $(shell $(PKG_CONFIG) glew --libs)
  23. # --------------------------------------------------------------
  24. # Enable all selected plugin types
  25. ifeq ($(HAVE_JACK),true)
  26. ifeq ($(HAVE_OPENGL),true)
  27. TARGETS += jack
  28. endif
  29. endif
  30. ifeq ($(HAVE_OPENGL),true)
  31. TARGETS += lv2_sep
  32. else
  33. TARGETS += lv2_dsp
  34. endif
  35. TARGETS += vst
  36. all: $(TARGETS)
  37. # --------------------------------------------------------------