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

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