Audio plugin host https://kx.studio/carla
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.

56 lines
1.2KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-plugin #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += $(shell pkg-config --cflags liblo)
  9. ifeq ($(HAVE_FLUIDSYNTH),true)
  10. BUILD_CXX_FLAGS += $(shell pkg-config --cflags fluidsynth)
  11. endif
  12. ifeq ($(HAVE_LINUXSAMPLER),true)
  13. BUILD_CXX_FLAGS += $(shell pkg-config --cflags linuxsampler)
  14. endif
  15. # --------------------------------------------------------------
  16. OBJS = \
  17. CarlaPlugin.cpp.o \
  18. CarlaPluginThread.cpp.o \
  19. BridgePlugin.cpp.o \
  20. NativePlugin.cpp.o \
  21. LadspaPlugin.cpp.o \
  22. DssiPlugin.cpp.o \
  23. Lv2Plugin.cpp.o \
  24. VstPlugin.cpp.o \
  25. Vst3Plugin.cpp.o \
  26. FluidSynthPlugin.cpp.o \
  27. LinuxSamplerPlugin.cpp.o
  28. TARGET = ../libcarla_plugin.a
  29. # --------------------------------------------------------------
  30. all: $(TARGET)
  31. clean:
  32. rm -f $(OBJS) $(FILES) $(TARGET)
  33. debug:
  34. $(MAKE) DEBUG=true
  35. # --------------------------------------------------------------
  36. %.cpp.o: %.cpp ../CarlaBackend.hpp ../CarlaEngine.hpp ../CarlaPlugin.hpp CarlaPluginInternal.hpp CarlaPluginThread.hpp
  37. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  38. $(TARGET): $(OBJS)
  39. rm -f $@
  40. $(AR) crs $@ $^