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.

42 lines
1.2KB

  1. # Must follow the format in the Naming section of https://vcvrack.com/manual/PluginDevelopmentTutorial.html
  2. SLUG = SubmarineFree
  3. # Must follow the format in the Versioning section of https://vcvrack.com/manual/PluginDevelopmentTutorial.html
  4. VERSION = 0.6.8
  5. # FLAGS will be passed to both the C and C++ compiler
  6. FLAGS +=
  7. CFLAGS +=
  8. CXXFLAGS +=
  9. # Careful about linking to shared libraries, since you can't assume much about the user's environment and library search path.
  10. # Static libraries are fine.
  11. LDFLAGS +=
  12. # Add .cpp and .c files to the build
  13. SOURCES += $(wildcard src/*.cpp) $(wildcard src/ComponentLibrary/*.cpp)
  14. # Add files to the ZIP package when running `make dist`
  15. # The compiled plugin is automatically added.
  16. DISTRIBUTABLES += $(wildcard LICENSE*) res Scala manual WK_Custom.tunings.template
  17. # If RACK_DIR is not defined when calling the Makefile, default to two levels above
  18. RACK_DIR ?= ../..
  19. # Include the VCV Rack plugin Makefile framework
  20. include $(RACK_DIR)/plugin.mk
  21. # Make resources
  22. RESOURCES += $(subst src/res/,res/,$(wildcard src/res/*.svg))
  23. res: $(RESOURCES)
  24. %.svg: ../src/res/%.svg
  25. ifeq (${SVG_TOOL},inkscape)
  26. inkscape -z -T -l=$@ $<
  27. else
  28. touch $@
  29. endif