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.

61 lines
1.8KB

  1. #!/usr/bin/make -f
  2. # Makefile for carla tests #
  3. # ------------------------ #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += -I../backend -I../includes -I../utils -Wall -Wextra
  9. # BUILD_CXX_FLAGS += -D_FORTIFY_SOURCE=2 -fstack-protector
  10. # BUILD_CXX_FLAGS += -I/opt/mingw32/include
  11. ANSI_CXX_FLAGS = -ansi -pedantic -pedantic-errors -Wunused-parameter -Wuninitialized -Wno-vla
  12. ANSI_CXX_FLAGS += -Wcast-qual -Wconversion -Wsign-conversion -Wlogical-op -Waggregate-return
  13. ANSI_CXX_FLAGS += -std=c++11 -Wzero-as-null-pointer-constant
  14. ANSI_CXX_FLAGS += -DVESTIGE_HEADER -shared -fPIC
  15. TARGETS = ANSI_ Base64 CarlaString RtList Thread Print
  16. all: $(TARGETS) RUN
  17. # --------------------------------------------------------------
  18. ANSI_: ANSI.cpp
  19. $(CXX) $^ $(BUILD_CXX_FLAGS) $(ANSI_CXX_FLAGS) $(LINK_FLAGS) -o ANSI # $@
  20. Base64: Base64.cpp
  21. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  22. CarlaString: CarlaString.cpp
  23. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  24. RtList: RtList.cpp ../libs/rtmempool.a
  25. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -pthread -lpthread -o $@
  26. Thread: Thread.cpp
  27. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -pthread -lpthread -o $@
  28. Print: Print.cpp
  29. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  30. GL_: GL.cpp
  31. # $(CXX) $^ $(BUILD_CXX_FLAGS) -I../backend/engine/plugin -I../libs/distrho-plugin-toolkit $(LINK_FLAGS) -lgdi32 -lopengl32 -lole32 -luuid -lws2_32 -o GL # $@
  32. $(CXX) $^ $(BUILD_CXX_FLAGS) -I../backend/engine/plugin -I../libs/distrho-plugin-toolkit $(LINK_FLAGS) -lGL -lGLU -o GL # $@
  33. RUN: $(TARGETS)
  34. # ./CarlaString && ./RtList && ./Thread
  35. # ./Print
  36. # ./Base64
  37. # ./GL
  38. # --------------------------------------------------------------
  39. clean:
  40. rm -f $(TARGETS)
  41. debug:
  42. $(MAKE) DEBUG=true