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.

63 lines
1.3KB

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