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.

77 lines
1.6KB

  1. #!/usr/bin/make -f
  2. # Makefile for rtmempool #
  3. # ---------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_C_FLAGS += $(RTMEMPOOL_FLAGS) -I. -I../../includes
  9. ifeq ($(CARLA_PLUGIN_SUPPORT),true)
  10. BUILD_C_FLAGS += -DWANT_LV2
  11. endif
  12. # --------------------------------------------------------------
  13. OBJS = rtmempool.c.o
  14. OBJS_posix32 = rtmempool.c.posix32.o
  15. OBJS_posix64 = rtmempool.c.posix64.o
  16. OBJS_win32 = rtmempool.c.win32.o
  17. OBJS_win64 = rtmempool.c.win64.o
  18. # --------------------------------------------------------------
  19. all: ../rtmempool.a
  20. posix32: ../rtmempool.posix32.a
  21. posix64: ../rtmempool.posix64.a
  22. win32: ../rtmempool.win32.a
  23. win64: ../rtmempool.win64.a
  24. # --------------------------------------------------------------
  25. clean:
  26. $(RM) *.o ../rtmempool*.a
  27. debug:
  28. $(MAKE) DEBUG=true
  29. # --------------------------------------------------------------
  30. ../rtmempool.a: $(OBJS)
  31. $(RM) $@
  32. $(AR) crs $@ $^
  33. ../rtmempool.posix32.a: $(OBJS_posix32)
  34. $(RM) $@
  35. $(AR) crs $@ $^
  36. ../rtmempool.posix64.a: $(OBJS_posix64)
  37. $(RM) $@
  38. $(AR) crs $@ $^
  39. ../rtmempool.win32.a: $(OBJS_win32)
  40. $(RM) $@
  41. $(AR) crs $@ $^
  42. ../rtmempool.win64.a: $(OBJS_win64)
  43. $(RM) $@
  44. $(AR) crs $@ $^
  45. # --------------------------------------------------------------
  46. DEPS = rtmempool.c rtmempool.h rtmempool-lv2.h list.h
  47. rtmempool.c.o: $(DEPS)
  48. $(CC) $< $(BUILD_C_FLAGS) -c -o $@
  49. rtmempool.c.%32.o: $(DEPS)
  50. $(CC) $< $(BUILD_C_FLAGS) $(32BIT_FLAGS) -c -o $@
  51. rtmempool.c.%64.o: $(DEPS)
  52. $(CC) $< $(BUILD_C_FLAGS) $(64BIT_FLAGS) -c -o $@
  53. # --------------------------------------------------------------