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.

65 lines
1.7KB

  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../libs -I../utils -Wall -Wextra
  9. # BUILD_CXX_FLAGS += -isystem ../libs/juce
  10. # BUILD_CXX_FLAGS += -DWANT_JACK -DWANT_LADSPA -DWANT_DSSI
  11. # BUILD_CXX_FLAGS += -isystem /usr/include/qt4
  12. # BUILD_CXX_FLAGS += -isystem ../backend/engine/rtaudio-4.0.11
  13. # BUILD_CXX_FLAGS += -I/opt/mingw32/include
  14. ANSI_CXX_FLAGS = -ansi -pedantic -pedantic-errors -Wunused-parameter -Wuninitialized -Wno-vla
  15. ANSI_CXX_FLAGS += -Wcast-qual -Wconversion -Wsign-conversion -Wlogical-op -Waggregate-return
  16. ANSI_CXX_FLAGS += -std=c++11 -Wzero-as-null-pointer-constant
  17. ANSI_CXX_FLAGS += -DVESTIGE_HEADER -fPIC
  18. TARGETS = ANSI Base64 CarlaString RtList Thread Print Utils
  19. all: $(TARGETS) RUN
  20. # --------------------------------------------------------------
  21. ANSI: ANSI.cpp
  22. $(CXX) $^ $(BUILD_CXX_FLAGS) $(ANSI_CXX_FLAGS) $(LINK_FLAGS) -o $@
  23. Base64: Base64.cpp
  24. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  25. CarlaString: CarlaString.cpp
  26. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  27. RtList: RtList.cpp ../libs/rtmempool.a
  28. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -pthread -lpthread -o $@
  29. Thread: Thread.cpp
  30. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -pthread -lpthread -o $@
  31. Print: Print.cpp
  32. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  33. Utils: Utils.cpp
  34. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  35. RUN: $(TARGETS)
  36. valgrind ./Base64
  37. # ./ANSI
  38. # ./CarlaString && ./RtList && ./Thread
  39. # ./Print
  40. # ./Base64
  41. # ./GL
  42. # --------------------------------------------------------------
  43. clean:
  44. rm -f $(TARGETS)
  45. debug:
  46. $(MAKE) DEBUG=true