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.

73 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. # --------------------------------------------------------------
  10. OBJS = rtmempool.c.o
  11. OBJS_posix32 = rtmempool.c.posix32.o
  12. OBJS_posix64 = rtmempool.c.posix64.o
  13. OBJS_win32 = rtmempool.c.win32.o
  14. OBJS_win64 = rtmempool.c.win64.o
  15. # --------------------------------------------------------------
  16. all: ../rtmempool.a
  17. posix32: ../rtmempool.posix32.a
  18. posix64: ../rtmempool.posix64.a
  19. win32: ../rtmempool.win32.a
  20. win64: ../rtmempool.win64.a
  21. # --------------------------------------------------------------
  22. clean:
  23. $(RM) *.o ../rtmempool*.a
  24. debug:
  25. $(MAKE) DEBUG=true
  26. # --------------------------------------------------------------
  27. ../rtmempool.a: $(OBJS)
  28. $(RM) $@
  29. $(AR) crs $@ $^
  30. ../rtmempool.posix32.a: $(OBJS_posix32)
  31. $(RM) $@
  32. $(AR) crs $@ $^
  33. ../rtmempool.posix64.a: $(OBJS_posix64)
  34. $(RM) $@
  35. $(AR) crs $@ $^
  36. ../rtmempool.win32.a: $(OBJS_win32)
  37. $(RM) $@
  38. $(AR) crs $@ $^
  39. ../rtmempool.win64.a: $(OBJS_win64)
  40. $(RM) $@
  41. $(AR) crs $@ $^
  42. # --------------------------------------------------------------
  43. DEPS = rtmempool.c rtmempool.h rtmempool-lv2.h list.h
  44. rtmempool.c.o: $(DEPS)
  45. $(CC) $< $(BUILD_C_FLAGS) -c -o $@
  46. rtmempool.c.%32.o: $(DEPS)
  47. $(CC) $< $(BUILD_C_FLAGS) $(32BIT_FLAGS) -c -o $@
  48. rtmempool.c.%64.o: $(DEPS)
  49. $(CC) $< $(BUILD_C_FLAGS) $(64BIT_FLAGS) -c -o $@
  50. # --------------------------------------------------------------