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

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
9 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
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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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. LINK_FLAGS += $(LIBLO_LIBS)
  102. ifeq ($(HAVE_X11),true)
  103. LINK_FLAGS += $(X11_LIBS)
  104. endif
  105. ifeq ($(UNIX),true)
  106. LINK_FLAGS += -ldl -lpthread
  107. endif
  108. # ----------------------------------------------------------------------------------------------------------------------------
  109. NATIVE_BUILD_FLAGS = $(NATIVE_PLUGINS_FLAGS)
  110. NATIVE_LINK_FLAGS =
  111. ifeq ($(HAVE_FLUIDSYNTH),true)
  112. NATIVE_BUILD_FLAGS += $(FLUIDSYNTH_FLAGS)
  113. NATIVE_LINK_FLAGS += $(FLUIDSYNTH_LIBS)
  114. endif
  115. ifeq ($(HAVE_LINUXSAMPLER),true)
  116. NATIVE_BUILD_FLAGS += $(LINUXSAMPLER_FLAGS)
  117. NATIVE_LINK_FLAGS += $(LINUXSAMPLER_LIBS)
  118. endif
  119. LIBS_native += $(MODULEDIR)/juce_audio_formats.a
  120. NATIVE_LINK_FLAGS += $(JUCE_AUDIO_FORMATS_LIBS)
  121. LIBS_native += $(MODULEDIR)/native-plugins.a
  122. NATIVE_LINK_FLAGS += $(NATIVE_PLUGINS_LIBS)
  123. ifeq ($(HAVE_DGL),true)
  124. LIBS_native += $(MODULEDIR)/dgl.a
  125. endif
  126. # ----------------------------------------------------------------------------------------------------------------------------
  127. OBJS_native = \
  128. $(OBJDIR)/CarlaBridgePlugin.cpp.o \
  129. $(OBJDIR)/CarlaEngine.cpp.o \
  130. $(OBJDIR)/CarlaEngineClient.cpp.o \
  131. $(OBJDIR)/CarlaEngineData.cpp.o \
  132. $(OBJDIR)/CarlaEngineInternal.cpp.o \
  133. $(OBJDIR)/CarlaEngineOsc.cpp.o \
  134. $(OBJDIR)/CarlaEngineOscSend.cpp.o \
  135. $(OBJDIR)/CarlaEnginePorts.cpp.o \
  136. $(OBJDIR)/CarlaEngineThread.cpp.o \
  137. $(OBJDIR)/CarlaEngineJack.cpp.o \
  138. $(OBJDIR)/CarlaEngineBridge.cpp.o \
  139. $(OBJDIR)/CarlaPlugin.cpp.o \
  140. $(OBJDIR)/CarlaPluginInternal.cpp.o \
  141. $(OBJDIR)/CarlaPluginNative.cpp.o \
  142. $(OBJDIR)/CarlaPluginLADSPA.cpp.o \
  143. $(OBJDIR)/CarlaPluginDSSI.cpp.o \
  144. $(OBJDIR)/CarlaPluginLV2.cpp.o \
  145. $(OBJDIR)/CarlaPluginVST2.cpp.o \
  146. $(OBJDIR)/CarlaPluginVST3.cpp.o \
  147. $(OBJDIR)/CarlaPluginAU.cpp.o \
  148. $(OBJDIR)/CarlaPluginJuce.cpp.o \
  149. $(OBJDIR)/CarlaPluginFluidSynth.cpp.o \
  150. $(OBJDIR)/CarlaPluginLinuxSampler.cpp.o \
  151. $(OBJDIR)/CarlaStandalone.cpp.o
  152. OBJS_arch = \
  153. $(OBJDIR)/CarlaBridgePlugin.cpp.arch.o \
  154. $(OBJDIR)/CarlaEngine.cpp.arch.o \
  155. $(OBJDIR)/CarlaEngineClient.cpp.arch.o \
  156. $(OBJDIR)/CarlaEngineData.cpp.arch.o \
  157. $(OBJDIR)/CarlaEngineInternal.cpp.arch.o \
  158. $(OBJDIR)/CarlaEngineOsc.cpp.arch.o \
  159. $(OBJDIR)/CarlaEngineOscSend.cpp.arch.o \
  160. $(OBJDIR)/CarlaEnginePorts.cpp.arch.o \
  161. $(OBJDIR)/CarlaEngineThread.cpp.arch.o \
  162. $(OBJDIR)/CarlaEngineJack.cpp.arch.o \
  163. $(OBJDIR)/CarlaEngineBridge.cpp.arch.o \
  164. $(OBJDIR)/CarlaPlugin.cpp.arch.o \
  165. $(OBJDIR)/CarlaPluginInternal.cpp.arch.o \
  166. $(OBJDIR)/CarlaPluginLADSPA.cpp.arch.o \
  167. $(OBJDIR)/CarlaPluginDSSI.cpp.arch.o \
  168. $(OBJDIR)/CarlaPluginLV2.cpp.arch.o \
  169. $(OBJDIR)/CarlaPluginVST2.cpp.arch.o \
  170. $(OBJDIR)/CarlaPluginVST3.cpp.arch.o \
  171. $(OBJDIR)/CarlaPluginAU.cpp.arch.o \
  172. $(OBJDIR)/CarlaPluginJuce.cpp.arch.o \
  173. $(OBJDIR)/CarlaStandalone.cpp.arch.o
  174. OBJS_posix32 = $(OBJS_arch:%.arch.o=%.posix32.o)
  175. OBJS_posix64 = $(OBJS_arch:%.arch.o=%.posix64.o)
  176. OBJS_win32 = $(OBJS_arch:%.arch.o=%.win32.o)
  177. OBJS_win64 = $(OBJS_arch:%.arch.o=%.win64.o)
  178. # ----------------------------------------------------------------------------------------------------------------------------
  179. all: native
  180. # ----------------------------------------------------------------------------------------------------------------------------
  181. clean:
  182. rm -f $(OBJDIR)/*.o
  183. rm -f $(BINDIR)/$(MODULENAME)-native
  184. rm -f $(BINDIR)/$(MODULENAME)-posix32
  185. rm -f $(BINDIR)/$(MODULENAME)-posix64
  186. rm -f $(BINDIR)/$(MODULENAME)-win*.exe
  187. debug:
  188. $(MAKE) DEBUG=true
  189. # ----------------------------------------------------------------------------------------------------------------------------
  190. native: $(BINDIR)/$(MODULENAME)-native$(APP_EXT)
  191. posix32: $(BINDIR)/$(MODULENAME)-posix32
  192. posix64: $(BINDIR)/$(MODULENAME)-posix64
  193. win32: $(BINDIR)/$(MODULENAME)-win32.exe
  194. win64: $(BINDIR)/$(MODULENAME)-win64.exe
  195. # ----------------------------------------------------------------------------------------------------------------------------
  196. # linking
  197. $(BINDIR)/$(MODULENAME)-native$(APP_EXT): $(OBJS_native) $(LIBS_native)
  198. -@mkdir -p $(BINDIR)
  199. @echo "Linking $(MODULENAME)-native$(APP_EXT)"
  200. @$(CXX) $(OBJS_native) $(LIBS_START) $(LIBS_native) $(LIBS_END) $(LINK_FLAGS) $(NATIVE_LINK_FLAGS) -o $@
  201. $(BINDIR)/$(MODULENAME)-posix32: $(OBJS_posix32) $(LIBS_posix32)
  202. -@mkdir -p $(BINDIR)
  203. @echo "Linking $(MODULENAME)-posix32"
  204. @$(CXX) $(OBJS_posix32) $(LIBS_START) $(LIBS_posix32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  205. $(BINDIR)/$(MODULENAME)-posix64: $(OBJS_posix64) $(LIBS_posix64)
  206. -@mkdir -p $(BINDIR)
  207. @echo "Linking $(MODULENAME)-posix64"
  208. @$(CXX) $(OBJS_posix64) $(LIBS_START) $(LIBS_posix64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  209. $(BINDIR)/$(MODULENAME)-win32.exe: $(OBJS_win32) $(LIBS_win32)
  210. -@mkdir -p $(BINDIR)
  211. @echo "Linking $(MODULENAME)-win32.exe"
  212. @$(CXX) $(OBJS_win32) $(LIBS_START) $(LIBS_win32) $(LIBS_END) $(LINK_FLAGS) $(32BIT_FLAGS) -o $@
  213. $(BINDIR)/$(MODULENAME)-win64.exe: $(OBJS_win64) $(LIBS_win64)
  214. -@mkdir -p $(BINDIR)
  215. @echo "Linking $(MODULENAME)-win64.exe"
  216. @$(CXX) $(OBJS_win64) $(LIBS_START) $(LIBS_win64) $(LIBS_END) $(LINK_FLAGS) $(64BIT_FLAGS) -o $@
  217. # ----------------------------------------------------------------------------------------------------------------------------
  218. # native
  219. $(OBJDIR)/CarlaBridgePlugin.cpp.o: CarlaBridgePlugin.cpp
  220. -@mkdir -p $(OBJDIR)
  221. @echo "Compiling $<"
  222. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  223. $(OBJDIR)/CarlaEng%.cpp.o: $(CWD)/backend/engine/CarlaEng%.cpp
  224. -@mkdir -p $(OBJDIR)
  225. @echo "Compiling CarlaEng$*.cpp (bridge)"
  226. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  227. $(OBJDIR)/CarlaPlug%.cpp.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  228. -@mkdir -p $(OBJDIR)
  229. @echo "Compiling CarlaPlug$*.cpp (bridge)"
  230. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  231. $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
  232. -@mkdir -p $(OBJDIR)
  233. @echo "Compiling CarlaStandalone.cpp (bridge)"
  234. @$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@
  235. # ----------------------------------------------------------------------------------------------------------------------------
  236. # posix32
  237. $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
  238. -@mkdir -p $(OBJDIR)
  239. @echo "Compiling $< (posix32 bridge)"
  240. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  241. $(OBJDIR)/CarlaEng%.cpp.posix32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  242. -@mkdir -p $(OBJDIR)
  243. @echo "Compiling CarlaEng$*.cpp (posix32 bridge)"
  244. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  245. $(OBJDIR)/CarlaPlug%.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  246. -@mkdir -p $(OBJDIR)
  247. @echo "Compiling CarlaPlug$*.cpp (posix32 bridge)"
  248. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  249. $(OBJDIR)/CarlaStandalone.cpp.posix32.o: $(CWD)/backend/CarlaStandalone.cpp
  250. -@mkdir -p $(OBJDIR)
  251. @echo "Compiling CarlaStandalone.cpp (posix32 bridge)"
  252. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  253. # ----------------------------------------------------------------------------------------------------------------------------
  254. # posix64
  255. $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
  256. -@mkdir -p $(OBJDIR)
  257. @echo "Compiling $< (posix64 bridge)"
  258. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  259. $(OBJDIR)/CarlaEng%.cpp.posix64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  260. -@mkdir -p $(OBJDIR)
  261. @echo "Compiling CarlaEng$*.cpp (posix64 bridge)"
  262. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  263. $(OBJDIR)/CarlaPlug%.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  264. -@mkdir -p $(OBJDIR)
  265. @echo "Compiling CarlaPlug$*.cpp (posix64 bridge)"
  266. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  267. $(OBJDIR)/CarlaStandalone.cpp.posix64.o: $(CWD)/backend/CarlaStandalone.cpp
  268. -@mkdir -p $(OBJDIR)
  269. @echo "Compiling CarlaStandalone.cpp (posix64 bridge)"
  270. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  271. # ----------------------------------------------------------------------------------------------------------------------------
  272. # win32
  273. $(OBJDIR)/CarlaBridgePlugin.cpp.win32.o: CarlaBridgePlugin.cpp
  274. -@mkdir -p $(OBJDIR)
  275. @echo "Compiling $< (win32 bridge)"
  276. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  277. $(OBJDIR)/CarlaEng%.cpp.win32.o: $(CWD)/backend/engine/CarlaEng%.cpp
  278. -@mkdir -p $(OBJDIR)
  279. @echo "Compiling CarlaEng$*.cpp (win32 bridge)"
  280. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  281. $(OBJDIR)/CarlaPlug%.cpp.win32.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  282. -@mkdir -p $(OBJDIR)
  283. @echo "Compiling CarlaPlug$*.cpp (win32 bridge)"
  284. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  285. $(OBJDIR)/CarlaStandalone.cpp.win32.o: $(CWD)/backend/CarlaStandalone.cpp
  286. -@mkdir -p $(OBJDIR)
  287. @echo "Compiling CarlaStandalone.cpp (win32 bridge)"
  288. @$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
  289. # ----------------------------------------------------------------------------------------------------------------------------
  290. # win64
  291. $(OBJDIR)/CarlaBridgePlugin.cpp.win64.o: CarlaBridgePlugin.cpp
  292. -@mkdir -p $(OBJDIR)
  293. @echo "Compiling $< (win64 bridge)"
  294. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  295. $(OBJDIR)/CarlaEng%.cpp.win64.o: $(CWD)/backend/engine/CarlaEng%.cpp
  296. -@mkdir -p $(OBJDIR)
  297. @echo "Compiling CarlaEng$*.cpp (win64 bridge)"
  298. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  299. $(OBJDIR)/CarlaPlug%.cpp.win64.o: $(CWD)/backend/plugin/CarlaPlug%.cpp
  300. -@mkdir -p $(OBJDIR)
  301. @echo "Compiling CarlaPlug$*.cpp (win64 bridge)"
  302. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  303. $(OBJDIR)/CarlaStandalone.cpp.win64.o: $(CWD)/backend/CarlaStandalone.cpp
  304. -@mkdir -p $(OBJDIR)
  305. @echo "Compiling CarlaStandalone.cpp (win64 bridge)"
  306. @$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
  307. # ----------------------------------------------------------------------------------------------------------------------------
  308. -include $(OBJS_native:%.o=%.d)
  309. -include $(OBJS_posix32:%.o=%.d)
  310. -include $(OBJS_posix64:%.o=%.d)
  311. -include $(OBJS_win32:%.o=%.d)
  312. -include $(OBJS_win64:%.o=%.d)
  313. # ----------------------------------------------------------------------------------------------------------------------------