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 2.9KB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. #!/usr/bin/make -f
  2. # Makefile for carla-engine #
  3. # ------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. OBJS = \
  9. CarlaEngine.cpp.o \
  10. CarlaEngineClient.cpp.o \
  11. CarlaEngineData.cpp.o \
  12. CarlaEngineGraph.cpp.o \
  13. CarlaEngineInternal.cpp.o \
  14. CarlaEngineOsc.cpp.o \
  15. CarlaEngineOscSend.cpp.o \
  16. CarlaEnginePorts.cpp.o \
  17. CarlaEngineThread.cpp.o
  18. OBJSa = $(OBJS) \
  19. CarlaEngineJack.cpp.o
  20. ifeq ($(MACOS_OR_WIN32),true)
  21. OBJSa += \
  22. CarlaEngineJuce.cpp.o
  23. else
  24. OBJSa += \
  25. CarlaEngineRtAudio.cpp.o
  26. endif
  27. ifneq ($(WIN32),true)
  28. OBJSa += \
  29. CarlaEngineNative.cpp.o
  30. OBJSp = $(OBJS) \
  31. CarlaEngineNative.cpp.exp.o
  32. endif
  33. TARGETS = \
  34. ../carla_engine.a \
  35. ../carla_engine_plugin.a
  36. # --------------------------------------------------------------
  37. all: $(TARGETS)
  38. # --------------------------------------------------------------
  39. clean:
  40. $(RM) $(OBJSa) $(OBJSp)
  41. $(RM) $(TARGETS)
  42. debug:
  43. $(MAKE) DEBUG=true
  44. # --------------------------------------------------------------
  45. ../carla_engine.a: $(OBJSa)
  46. $(RM) $@
  47. $(AR) crs $@ $^
  48. ../carla_engine_plugin.a: $(OBJSp)
  49. $(RM) $@
  50. $(AR) crs $@ $^
  51. # --------------------------------------------------------------
  52. CarlaEngine.cpp.o: CarlaEngine.cpp $(CARLA_ENGINE_CPP_DEPS)
  53. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  54. CarlaEngineClient.cpp.o: CarlaEngineClient.cpp $(CARLA_ENGINE_CLIENT_CPP_DEPS)
  55. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  56. CarlaEngineData.cpp.o: CarlaEngineData.cpp $(CARLA_ENGINE_DATA_CPP_DEPS)
  57. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  58. CarlaEngineGraph.cpp.o: CarlaEngineGraph.cpp $(CARLA_ENGINE_GRAPH_CPP_DEPS)
  59. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  60. CarlaEngineInternal.cpp.o: CarlaEngineInternal.cpp $(CARLA_ENGINE_INTERNAL_CPP_DEPS)
  61. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  62. CarlaEngineOsc.cpp.o: CarlaEngineOsc.cpp $(CARLA_ENGINE_OSC_CPP_DEPS)
  63. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  64. CarlaEngineOscSend.cpp.o: CarlaEngineOscSend.cpp $(CARLA_ENGINE_OSC_SEND_CPP_DEPS)
  65. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  66. CarlaEnginePorts.cpp.o: CarlaEnginePorts.cpp $(CARLA_ENGINE_PORTS_CPP_DEPS)
  67. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  68. CarlaEngineThread.cpp.o: CarlaEngineThread.cpp $(CARLA_ENGINE_THREAD_CPP_DEPS)
  69. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  70. CarlaEngineJack.cpp.o: CarlaEngineJack.cpp $(CARLA_ENGINE_JACK_CPP_DEPS)
  71. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  72. CarlaEngineRtAudio.cpp.o: CarlaEngineRtAudio.cpp $(CARLA_ENGINE_RTAUDIO_CPP_DEPS)
  73. $(CXX) $< $(BUILD_CXX_FLAGS) $(RTAUDIO_FLAGS) $(RTMIDI_FLAGS) -c -o $@
  74. CarlaEngineJuce.cpp.o: CarlaEngineJuce.cpp $(CARLA_ENGINE_JUCE_CPP_DEPS)
  75. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  76. CarlaEngineNative.cpp.o: CarlaEngineNative.cpp $(CARLA_ENGINE_NATIVE_CPP_DEPS)
  77. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  78. CarlaEngineNative.cpp.exp.o: CarlaEngineNative.cpp $(CARLA_ENGINE_NATIVE_CPP_DEPS)
  79. $(CXX) $< $(BUILD_CXX_FLAGS) -DCARLA_PLUGIN_EXPORT -c -o $@
  80. # --------------------------------------------------------------