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.

44 lines
1.2KB

  1. SLUG = SynthKit
  2. VERSION = 0.6.0dev
  3. # FLAGS will be passed to both the C and C++ compiler
  4. FLAGS +=
  5. CFLAGS +=
  6. CXXFLAGS +=
  7. # Careful about linking to libraries, since you can't assume much about the user's environment and library search path.
  8. # Static libraries are fine.
  9. LDFLAGS +=
  10. # Controllers
  11. CONTROLLERS += $(wildcard src/controller/*.cpp)
  12. # SynthDevKit
  13. SYNTHDEVKIT += $(wildcard deps/SynthDevKit/src/*.cpp)
  14. # Views
  15. VIEWS += $(wildcard src/view/*.cpp)
  16. # Add .cpp and .c files to the build
  17. SOURCES += $(wildcard src/*.cpp) $(CONTROLLERS) $(VIEWS) $(SYNTHDEVKIT)
  18. # Add files to the ZIP package when running `make dist`
  19. # The compiled plugin is automatically added.
  20. DISTRIBUTABLES += $(wildcard LICENSE*) res
  21. # Must include the VCV plugin Makefile framework
  22. RACK_DIR ?= ../..
  23. include $(RACK_DIR)/plugin.mk
  24. # Sources to test for ArpTest - this will usually only include your controllers
  25. TEST_SOURCES += $(CONTROLLERS) $(SYNTHDEVKIT)
  26. # Add any tests
  27. TEST_SOURCES += $(wildcard tests/*.cpp)
  28. # By default, ARPTEST_DIR is arptest in your current directory, but you can override it
  29. # In this example, arptest lives one path down
  30. ARPTEST_DIR ?= ./arptest
  31. include $(ARPTEST_DIR)/build.mk