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

12 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #!/usr/bin/make -f
  2. # Makefile for rtmempool #
  3. # ----------------------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_C_FLAGS += -fvisibility=hidden -fPIC
  9. BUILD_C_FLAGS += -I. -I../../includes
  10. OBJS = rtmempool.o
  11. OBJS_posix32 = rtmempool_posix32.o
  12. OBJS_posix64 = rtmempool_posix64.o
  13. OBJS_win32 = rtmempool_win32.o
  14. OBJS_win64 = rtmempool_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. ../rtmempool.a: $(OBJS)
  23. $(AR) rs $@ $^
  24. ../rtmempool_posix32.a: $(OBJS_posix32)
  25. $(AR) rs $@ $^
  26. ../rtmempool_posix64.a: $(OBJS_posix64)
  27. $(AR) rs $@ $^
  28. ../rtmempool_win32.a: $(OBJS_win32)
  29. $(AR) rs $@ $^
  30. ../rtmempool_win64.a: $(OBJS_win64)
  31. $(AR) rs $@ $^
  32. # --------------------------------------------------------------
  33. rtmempool.o: rtmempool.c
  34. $(CC) $< $(BUILD_C_FLAGS) -c -o $@
  35. # --------------------------------------------------------------
  36. rtmempool_posix32.o: rtmempool.c
  37. $(CC) $< $(BUILD_C_FLAGS) $(32BIT_FLAGS) -c -o $@
  38. # --------------------------------------------------------------
  39. rtmempool_posix64.o: rtmempool.c
  40. $(CC) $< $(BUILD_C_FLAGS) $(64BIT_FLAGS) -c -o $@
  41. # --------------------------------------------------------------
  42. rtmempool_win32.o: rtmempool.c
  43. $(CC) $< $(BUILD_C_FLAGS) -DPTW32_STATIC_LIB $(32BIT_FLAGS) -c -o $@
  44. # --------------------------------------------------------------
  45. rtmempool_win64.o: rtmempool.c
  46. $(CC) $< $(BUILD_C_FLAGS) -DPTW32_STATIC_LIB $(64BIT_FLAGS) -c -o $@
  47. # --------------------------------------------------------------
  48. clean:
  49. rm -f *.o