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.

59 lines
1.6KB

  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../theme -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 += -DBUILD_ANSI_TEST -DVESTIGE_HEADER -fPIC
  18. TARGETS = ANSI CarlaString RtList Print Utils
  19. all: $(TARGETS) RUN
  20. # --------------------------------------------------------------
  21. ANSI: ANSI.cpp
  22. $(CXX) $^ $(BUILD_CXX_FLAGS) $(ANSI_CXX_FLAGS) $(LINK_FLAGS) -o $@
  23. CarlaString: CarlaString.cpp
  24. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  25. RtList: RtList.cpp ../libs/rtmempool.a ../utils/RtList.hpp
  26. $(CXX) RtList.cpp ../libs/rtmempool.a $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -pthread -lpthread -o $@
  27. Print: Print.cpp
  28. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  29. Utils: Utils.cpp
  30. $(CXX) $^ $(BUILD_CXX_FLAGS) $(LINK_FLAGS) -o $@
  31. RUN: $(TARGETS)
  32. # valgrind ./Base64
  33. # ./ANSI
  34. # ./CarlaString && ./RtList && ./Thread
  35. # ./Print
  36. # ./Base64
  37. # ./GL
  38. # --------------------------------------------------------------
  39. clean:
  40. rm -f $(TARGETS)
  41. debug:
  42. $(MAKE) DEBUG=true