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.

386 lines
14KB

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