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.

410 lines
15KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla-bridges-plugin #
  3. # --------------------------------- #
  4. # Created by falkTX
  5. #
  6. CWD=..
  7. MODULENAME=carla-bridge
  8. include $(CWD)/Makefile.mk
  9. # ----------------------------------------------------------------------------------------------------------------------
  10. BINDIR := $(CWD)/../bin
  11. ifeq ($(DEBUG),true)
  12. OBJDIR := $(CWD)/../build/bridges-plugin/Debug
  13. MODULEDIR := $(CWD)/../build/modules/Debug
  14. else
  15. OBJDIR := $(CWD)/../build/bridges-plugin/Release
  16. MODULEDIR := $(CWD)/../build/modules/Release
  17. endif
  18. # ----------------------------------------------------------------------------------------------------------------------
  19. BUILD_CXX_FLAGS += -DBUILD_BRIDGE -I. -I$(CWD) -I$(CWD)/backend -I$(CWD)/includes -I$(CWD)/utils -isystem $(CWD)/modules
  20. BUILD_CXX_FLAGS += -I$(CWD)/backend/engine -I$(CWD)/backend/plugin
  21. BUILD_CXX_FLAGS += $(LIBLO_FLAGS)
  22. ifeq ($(CARLA_VESTIGE_HEADER),true)
  23. BUILD_CXX_FLAGS += -DVESTIGE_HEADER
  24. endif
  25. 32BIT_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH
  26. 64BIT_FLAGS += -DBUILD_BRIDGE_ALTERNATIVE_ARCH
  27. # ----------------------------------------------------------------------------------------------------------------------
  28. LIBS_native = $(MODULEDIR)/jackbridge.a
  29. LIBS_posix32 = $(MODULEDIR)/jackbridge.posix32.a
  30. LIBS_posix64 = $(MODULEDIR)/jackbridge.posix64.a
  31. ifeq ($(BUILDING_FOR_WINDOWS),true)
  32. LIBS_win32 = $(MODULEDIR)/jackbridge.win32.a
  33. LIBS_win64 = $(MODULEDIR)/jackbridge.win64.a
  34. else
  35. LIBS_win32 = $(MODULEDIR)/jackbridge.win32e.a
  36. LIBS_win64 = $(MODULEDIR)/jackbridge.win64e.a
  37. endif
  38. LINK_FLAGS += $(JACKBRIDGE_LIBS)
  39. LIBS_native += $(MODULEDIR)/juce_audio_basics.a
  40. LIBS_posix32 += $(MODULEDIR)/juce_audio_basics.posix32.a
  41. LIBS_posix64 += $(MODULEDIR)/juce_audio_basics.posix64.a
  42. LIBS_win32 += $(MODULEDIR)/juce_audio_basics.win32.a
  43. LIBS_win64 += $(MODULEDIR)/juce_audio_basics.win64.a
  44. LINK_FLAGS += $(JUCE_AUDIO_BASICS_LIBS)
  45. LIBS_native += $(MODULEDIR)/juce_core.a
  46. LIBS_posix32 += $(MODULEDIR)/juce_core.posix32.a
  47. LIBS_posix64 += $(MODULEDIR)/juce_core.posix64.a
  48. LIBS_win32 += $(MODULEDIR)/juce_core.win32.a
  49. LIBS_win64 += $(MODULEDIR)/juce_core.win64.a
  50. LINK_FLAGS += $(JUCE_CORE_LIBS)
  51. LIBS_native += $(MODULEDIR)/juce_events.a
  52. LIBS_posix32 += $(MODULEDIR)/juce_events.posix32.a
  53. LIBS_posix64 += $(MODULEDIR)/juce_events.posix64.a
  54. LIBS_win32 += $(MODULEDIR)/juce_events.win32.a
  55. LIBS_win64 += $(MODULEDIR)/juce_events.win64.a
  56. LINK_FLAGS += $(JUCE_EVENTS_LIBS)
  57. LIBS_native += $(MODULEDIR)/lilv.a
  58. LIBS_posix32 += $(MODULEDIR)/lilv.posix32.a
  59. LIBS_posix64 += $(MODULEDIR)/lilv.posix64.a
  60. LIBS_win32 += $(MODULEDIR)/lilv.win32.a
  61. LIBS_win64 += $(MODULEDIR)/lilv.win64.a
  62. LINK_FLAGS += $(LILV_LIBS)
  63. LIBS_native += $(MODULEDIR)/rtmempool.a
  64. LIBS_posix32 += $(MODULEDIR)/rtmempool.posix32.a
  65. LIBS_posix64 += $(MODULEDIR)/rtmempool.posix64.a
  66. LIBS_win32 += $(MODULEDIR)/rtmempool.win32.a
  67. LIBS_win64 += $(MODULEDIR)/rtmempool.win64.a
  68. LINK_FLAGS += $(RTMEMPOOL_LIBS)
  69. ifeq ($(MACOS_OR_WIN32),true)
  70. LIBS_native += $(MODULEDIR)/juce_audio_processors.a
  71. LIBS_posix32 += $(MODULEDIR)/juce_audio_processors.posix32.a
  72. LIBS_posix64 += $(MODULEDIR)/juce_audio_processors.posix64.a
  73. LIBS_win32 += $(MODULEDIR)/juce_audio_processors.win32.a
  74. LIBS_win64 += $(MODULEDIR)/juce_audio_processors.win64.a
  75. LINK_FLAGS += $(JUCE_AUDIO_PROCESSORS_LIBS)
  76. LIBS_native += $(MODULEDIR)/juce_data_structures.a
  77. LIBS_posix32 += $(MODULEDIR)/juce_data_structures.posix32.a
  78. LIBS_posix64 += $(MODULEDIR)/juce_data_structures.posix64.a
  79. LIBS_win32 += $(MODULEDIR)/juce_data_structures.win32.a
  80. LIBS_win64 += $(MODULEDIR)/juce_data_structures.win64.a
  81. LINK_FLAGS += $(JUCE_DATA_STRUCTURES_LIBS)
  82. LIBS_native += $(MODULEDIR)/juce_graphics.a
  83. LIBS_posix32 += $(MODULEDIR)/juce_graphics.posix32.a
  84. LIBS_posix64 += $(MODULEDIR)/juce_graphics.posix64.a
  85. LIBS_win32 += $(MODULEDIR)/juce_graphics.win32.a
  86. LIBS_win64 += $(MODULEDIR)/juce_graphics.win64.a
  87. LINK_FLAGS += $(JUCE_GRAPHICS_LIBS)
  88. LIBS_native += $(MODULEDIR)/juce_gui_basics.a
  89. LIBS_posix32 += $(MODULEDIR)/juce_gui_basics.posix32.a
  90. LIBS_posix64 += $(MODULEDIR)/juce_gui_basics.posix64.a
  91. LIBS_win32 += $(MODULEDIR)/juce_gui_basics.win32.a
  92. LIBS_win64 += $(MODULEDIR)/juce_gui_basics.win64.a
  93. LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS)
  94. ifeq ($(MACOS),true)
  95. LIBS_native += $(MODULEDIR)/juce_gui_extra.a
  96. LIBS_posix32 += $(MODULEDIR)/juce_gui_extra.posix32.a
  97. LIBS_posix64 += $(MODULEDIR)/juce_gui_extra.posix64.a
  98. LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS)
  99. endif
  100. endif
  101. ifeq ($(HAVE_LIBLO),true)
  102. LINK_FLAGS += $(LIBLO_LIBS)
  103. endif
  104. ifeq ($(HAVE_LIBMAGIC),true)
  105. LINK_FLAGS += $(MAGIC_LIBS)
  106. endif
  107. ifeq ($(HAVE_X11),true)
  108. LINK_FLAGS += $(X11_LIBS)
  109. endif
  110. ifeq ($(UNIX),true)
  111. LINK_FLAGS += -ldl -lpthread
  112. endif
  113. # ----------------------------------------------------------------------------------------------------------------------
  114. NATIVE_BUILD_FLAGS = $(NATIVE_PLUGINS_FLAGS)
  115. NATIVE_LINK_FLAGS =
  116. ifeq ($(HAVE_FLUIDSYNTH),true)
  117. NATIVE_BUILD_FLAGS += $(FLUIDSYNTH_FLAGS)
  118. NATIVE_LINK_FLAGS += $(FLUIDSYNTH_LIBS)
  119. endif
  120. ifeq ($(HAVE_LINUXSAMPLER),true)
  121. NATIVE_BUILD_FLAGS += $(LINUXSAMPLER_FLAGS)
  122. NATIVE_LINK_FLAGS += $(LINUXSAMPLER_LIBS)
  123. endif
  124. LIBS_native += $(MODULEDIR)/juce_audio_formats.a
  125. NATIVE_LINK_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS)
  126. LIBS_native += $(MODULEDIR)/native-plugins.a
  127. NATIVE_LINK_FLAGS += $(NATIVE_PLUGINS_LIBS)
  128. ifeq ($(HAVE_DGL),true)
  129. LIBS_native += $(MODULEDIR)/dgl.a
  130. endif
  131. # ----------------------------------------------------------------------------------------------------------------------
  132. OBJS_native = \
  133. $(OBJDIR)/CarlaBridgePlugin.cpp.o \
  134. $(OBJDIR)/CarlaEngine.cpp.o \
  135. $(OBJDIR)/CarlaEngineClient.cpp.o \
  136. $(OBJDIR)/CarlaEngineData.cpp.o \
  137. $(OBJDIR)/CarlaEngineInternal.cpp.o \
  138. $(OBJDIR)/CarlaEngineOsc.cpp.o \
  139. $(OBJDIR)/CarlaEngineOscSend.cpp.o \
  140. $(OBJDIR)/CarlaEnginePorts.cpp.o \
  141. $(OBJDIR)/CarlaEngineThread.cpp.o \
  142. $(OBJDIR)/CarlaEngineJack.cpp.o \
  143. $(OBJDIR)/CarlaEngineBridge.cpp.o \
  144. $(OBJDIR)/CarlaPlugin.cpp.o \
  145. $(OBJDIR)/CarlaPluginBridge.cpp.o \
  146. $(OBJDIR)/CarlaPluginInternal.cpp.o \
  147. $(OBJDIR)/CarlaPluginNative.cpp.o \
  148. $(OBJDIR)/CarlaPluginLADSPA.cpp.o \
  149. $(OBJDIR)/CarlaPluginDSSI.cpp.o \
  150. $(OBJDIR)/CarlaPluginLV2.cpp.o \
  151. $(OBJDIR)/CarlaPluginVST2.cpp.o \
  152. $(OBJDIR)/CarlaPluginVST3.cpp.o \
  153. $(OBJDIR)/CarlaPluginAU.cpp.o \
  154. $(OBJDIR)/CarlaPluginJuce.cpp.o \
  155. $(OBJDIR)/CarlaPluginFluidSynth.cpp.o \
  156. $(OBJDIR)/CarlaPluginLinuxSampler.cpp.o \
  157. $(OBJDIR)/CarlaStandalone.cpp.o
  158. OBJS_lv2 = $(OBJS_native) \
  159. $(OBJDIR)/CarlaBridgeLV2.cpp.o
  160. OBJS_arch = \
  161. $(OBJDIR)/CarlaBridgePlugin.cpp.arch.o \
  162. $(OBJDIR)/CarlaEngine.cpp.arch.o \
  163. $(OBJDIR)/CarlaEngineClient.cpp.arch.o \
  164. $(OBJDIR)/CarlaEngineData.cpp.arch.o \
  165. $(OBJDIR)/CarlaEngineInternal.cpp.arch.o \
  166. $(OBJDIR)/CarlaEngineOsc.cpp.arch.o \
  167. $(OBJDIR)/CarlaEngineOscSend.cpp.arch.o \
  168. $(OBJDIR)/CarlaEnginePorts.cpp.arch.o \
  169. $(OBJDIR)/CarlaEngineThread.cpp.arch.o \
  170. $(OBJDIR)/CarlaEngineJack.cpp.arch.o \
  171. $(OBJDIR)/CarlaEngineBridge.cpp.arch.o \
  172. $(OBJDIR)/CarlaPlugin.cpp.arch.o \
  173. $(OBJDIR)/CarlaPluginBridge.cpp.arch.o \
  174. $(OBJDIR)/CarlaPluginInternal.cpp.arch.o \
  175. $(OBJDIR)/CarlaPluginLADSPA.cpp.arch.o \
  176. $(OBJDIR)/CarlaPluginDSSI.cpp.arch.o \
  177. $(OBJDIR)/CarlaPluginLV2.cpp.arch.o \
  178. $(OBJDIR)/CarlaPluginVST2.cpp.arch.o \
  179. $(OBJDIR)/CarlaPluginVST3.cpp.arch.o \
  180. $(OBJDIR)/CarlaPluginAU.cpp.arch.o \
  181. $(OBJDIR)/CarlaPluginJuce.cpp.arch.o \
  182. $(OBJDIR)/CarlaStandalone.cpp.arch.o
  183. OBJS_posix32 = $(OBJS_arch:%.arch.o=%.posix32.o)
  184. OBJS_posix64 = $(OBJS_arch:%.arch.o=%.posix64.o)
  185. OBJS_win32 = $(OBJS_arch:%.arch.o=%.win32.o)
  186. OBJS_win64 = $(OBJS_arch:%.arch.o=%.win64.o)
  187. # ----------------------------------------------------------------------------------------------------------------------
  188. all: native
  189. # ----------------------------------------------------------------------------------------------------------------------
  190. clean:
  191. rm -f $(OBJDIR)/*.o
  192. rm -f $(BINDIR)/$(MODULENAME)-native
  193. rm -f $(BINDIR)/$(MODULENAME)-posix32
  194. rm -f $(BINDIR)/$(MODULENAME)-posix64
  195. rm -f $(BINDIR)/$(MODULENAME)-win*.exe
  196. debug:
  197. $(MAKE) DEBUG=true
  198. # ----------------------------------------------------------------------------------------------------------------------
  199. native: $(BINDIR)/$(MODULENAME)-native$(APP_EXT) $(BINDIR)/$(MODULENAME)-lv2$(LIB_EXT)
  200. posix32: $(BINDIR)/$(MODULENAME)-posix32
  201. posix64: $(BINDIR)/$(MODULENAME)-posix64
  202. win32: $(BINDIR)/$(MODULENAME)-win32.exe
  203. win64: $(BINDIR)/$(MODULENAME)-win64.exe
  204. # ----------------------------------------------------------------------------------------------------------------------
  205. # linking
  206. $(BINDIR)/$(MODULENAME)-native$(APP_EXT): $(OBJS_native) $(LIBS_native)
  207. -@mkdir -p $(BINDIR)
  208. @echo "Linking $(MODULENAME)-native$(APP_EXT)"
  209. @$(CXX) $(OBJS_native) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  210. $(BINDIR)/$(MODULENAME)-lv2$(LIB_EXT): $(OBJS_lv2) $(LIBS_native)
  211. -@mkdir -p $(BINDIR)
  212. @echo "Linking $(MODULENAME)-lv2$(LIB_EXT)"
  213. @$(CXX) $(OBJS_lv2) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(SHARED) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  214. $(BINDIR)/$(MODULENAME)-posix32: $(OBJS_posix32) $(LIBS_posix32)
  215. -@mkdir -p $(BINDIR)
  216. @echo "Linking $(MODULENAME)-posix32"
  217. @$(CXX) $(OBJS_posix32) $(LIBS_START) $(LIBS_posix32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  218. $(BINDIR)/$(MODULENAME)-posix64: $(OBJS_posix64) $(LIBS_posix64)
  219. -@mkdir -p $(BINDIR)
  220. @echo "Linking $(MODULENAME)-posix64"
  221. @$(CXX) $(OBJS_posix64) $(LIBS_START) $(LIBS_posix64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  222. $(BINDIR)/$(MODULENAME)-win32.exe: $(OBJS_win32) $(LIBS_win32)
  223. -@mkdir -p $(BINDIR)
  224. @echo "Linking $(MODULENAME)-win32.exe"
  225. @$(CXX) $(OBJS_win32) $(LIBS_START) $(LIBS_win32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  226. $(BINDIR)/$(MODULENAME)-win64.exe: $(OBJS_win64) $(LIBS_win64)
  227. -@mkdir -p $(BINDIR)
  228. @echo "Linking $(MODULENAME)-win64.exe"
  229. @$(CXX) $(OBJS_win64) $(LIBS_START) $(LIBS_win64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  230. # ----------------------------------------------------------------------------------------------------------------------
  231. # native
  232. $(OBJDIR)/CarlaBridgeLV2.cpp.o: CarlaBridgeLV2.cpp
  233. -@mkdir -p $(OBJDIR)
  234. @echo "Compiling $<"
  235. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  236. $(OBJDIR)/CarlaBridgePlugin.cpp.o: CarlaBridgePlugin.cpp
  237. -@mkdir -p $(OBJDIR)
  238. @echo "Compiling $<"
  239. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  240. $(OBJDIR)/CarlaEng%.cpp.o: $(CWD)/backend/engine/CarlaEng%.cpp
  241. -@mkdir -p $(OBJDIR)
  242. @echo "Compiling CarlaEng$*.cpp (bridge)"
  243. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  244. $(OBJDIR)/CarlaPlug%.cpp.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  245. -@mkdir -p $(OBJDIR)
  246. @echo "Compiling CarlaPlug$*.cpp (bridge)"
  247. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  248. $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
  249. -@mkdir -p $(OBJDIR)
  250. @echo "Compiling CarlaStandalone.cpp (bridge)"
  251. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  252. # ----------------------------------------------------------------------------------------------------------------------
  253. # posix32
  254. $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
  255. -@mkdir -p $(OBJDIR)
  256. @echo "Compiling $< (posix32 bridge)"
  257. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  258. $(OBJDIR)/CarlaEng%.cpp.posix32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  259. -@mkdir -p $(OBJDIR)
  260. @echo "Compiling CarlaEng$*.cpp (posix32 bridge)"
  261. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  262. $(OBJDIR)/CarlaPlug%.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  263. -@mkdir -p $(OBJDIR)
  264. @echo "Compiling CarlaPlug$*.cpp (posix32 bridge)"
  265. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  266. $(OBJDIR)/CarlaStandalone.cpp.posix32.o: $(CWD)/backend/CarlaStandalone.cpp
  267. -@mkdir -p $(OBJDIR)
  268. @echo "Compiling CarlaStandalone.cpp (posix32 bridge)"
  269. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  270. # ----------------------------------------------------------------------------------------------------------------------
  271. # posix64
  272. $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
  273. -@mkdir -p $(OBJDIR)
  274. @echo "Compiling $< (posix64 bridge)"
  275. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  276. $(OBJDIR)/CarlaEng%.cpp.posix64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  277. -@mkdir -p $(OBJDIR)
  278. @echo "Compiling CarlaEng$*.cpp (posix64 bridge)"
  279. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  280. $(OBJDIR)/CarlaPlug%.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  281. -@mkdir -p $(OBJDIR)
  282. @echo "Compiling CarlaPlug$*.cpp (posix64 bridge)"
  283. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  284. $(OBJDIR)/CarlaStandalone.cpp.posix64.o: $(CWD)/backend/CarlaStandalone.cpp
  285. -@mkdir -p $(OBJDIR)
  286. @echo "Compiling CarlaStandalone.cpp (posix64 bridge)"
  287. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  288. # ----------------------------------------------------------------------------------------------------------------------
  289. # win32
  290. $(OBJDIR)/CarlaBridgePlugin.cpp.win32.o: CarlaBridgePlugin.cpp
  291. -@mkdir -p $(OBJDIR)
  292. @echo "Compiling $< (win32 bridge)"
  293. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  294. $(OBJDIR)/CarlaEng%.cpp.win32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  295. -@mkdir -p $(OBJDIR)
  296. @echo "Compiling CarlaEng$*.cpp (win32 bridge)"
  297. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  298. $(OBJDIR)/CarlaPlug%.cpp.win32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  299. -@mkdir -p $(OBJDIR)
  300. @echo "Compiling CarlaPlug$*.cpp (win32 bridge)"
  301. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  302. $(OBJDIR)/CarlaStandalone.cpp.win32.o: $(CWD)/backend/CarlaStandalone.cpp
  303. -@mkdir -p $(OBJDIR)
  304. @echo "Compiling CarlaStandalone.cpp (win32 bridge)"
  305. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  306. # ----------------------------------------------------------------------------------------------------------------------
  307. # win64
  308. $(OBJDIR)/CarlaBridgePlugin.cpp.win64.o: CarlaBridgePlugin.cpp
  309. -@mkdir -p $(OBJDIR)
  310. @echo "Compiling $< (win64 bridge)"
  311. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  312. $(OBJDIR)/CarlaEng%.cpp.win64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  313. -@mkdir -p $(OBJDIR)
  314. @echo "Compiling CarlaEng$*.cpp (win64 bridge)"
  315. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  316. $(OBJDIR)/CarlaPlug%.cpp.win64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  317. -@mkdir -p $(OBJDIR)
  318. @echo "Compiling CarlaPlug$*.cpp (win64 bridge)"
  319. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  320. $(OBJDIR)/CarlaStandalone.cpp.win64.o: $(CWD)/backend/CarlaStandalone.cpp
  321. -@mkdir -p $(OBJDIR)
  322. @echo "Compiling CarlaStandalone.cpp (win64 bridge)"
  323. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  324. # ----------------------------------------------------------------------------------------------------------------------
  325. -include $(OBJS_lv2:%.o=%.d)
  326. -include $(OBJS_posix32:%.o=%.d)
  327. -include $(OBJS_posix64:%.o=%.d)
  328. -include $(OBJS_win32:%.o=%.d)
  329. -include $(OBJS_win64:%.o=%.d)
  330. # ----------------------------------------------------------------------------------------------------------------------