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

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