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.

Makefile 1.4KB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 QtCore)
  9. LINK_FLAGS += $(shell pkg-config --libs liblo QtCore)
  10. ifeq ($(HAVE_FLUIDSYNTH),true)
  11. BUILD_CXX_FLAGS += $(shell pkg-config --cflags fluidsynth)
  12. LINK_FLAGS += $(shell pkg-config --libs fluidsynth)
  13. endif
  14. ifeq ($(HAVE_LINUXSAMPLER),true)
  15. BUILD_CXX_FLAGS += $(shell pkg-config --cflags linuxsampler)
  16. LINK_FLAGS += $(shell pkg-config --libs linuxsampler)
  17. endif
  18. # --------------------------------------------------------------
  19. OBJS = \
  20. CarlaPlugin.cpp.o \
  21. CarlaPluginThread.cpp.o \
  22. BridgePlugin.cpp.o \
  23. NativePlugin.cpp.o \
  24. LadspaPlugin.cpp.o \
  25. DssiPlugin.cpp.o \
  26. Lv2Plugin.cpp.o \
  27. VstPlugin.cpp.o \
  28. Vst3Plugin.cpp.o \
  29. FluidSynthPlugin.cpp.o \
  30. LinuxSamplerPlugin.cpp.o
  31. SHARED = ../libcarla_plugin.so
  32. STATIC = ../libcarla_plugin.a
  33. # --------------------------------------------------------------
  34. all: $(STATIC)
  35. clean:
  36. rm -f $(OBJS) $(SHARED) $(STATIC)
  37. debug:
  38. $(MAKE) DEBUG=true
  39. # --------------------------------------------------------------
  40. %.cpp.o: %.cpp ../CarlaEngine.hpp ../CarlaPlugin.hpp CarlaPluginInternal.hpp CarlaPluginThread.hpp
  41. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  42. $(SHARED): $(OBJS)
  43. $(CXX) $^ -shared $(LINK_FLAGS) -o $@
  44. $(STATIC): $(OBJS)
  45. $(AR) rs $@ $^