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.

33 lines
831B

  1. SLUG = Alikins
  2. VERSION = 0.6.0
  3. RACK_DIR ?= ../..
  4. # FLAGS will be passed to both the C and C++ compiler
  5. FLAGS +=
  6. CFLAGS +=
  7. CXXFLAGS +=
  8. # Careful about linking to libraries, since you can't assume much about the user's environment and library search path.
  9. # Static libraries are fine.
  10. LDFLAGS +=
  11. # Add .cpp and .c files to the build
  12. SOURCES = $(wildcard src/*.cpp)
  13. # Must include the VCV plugin Makefile framework
  14. include $(RACK_DIR)/plugin.mk
  15. # http://cppcheck.sourceforge.net/
  16. cppcheck:
  17. cppcheck -i$(RACK_DIR)/dep/include -i$(RACK_DIR)/include --enable=style -DVERSION=0.5.1 --quiet src/
  18. # https://github.com/google/styleguide
  19. cpplint:
  20. cpplint --headers=hpp --filter=-whitespace/line_length,-legal/copyright,-whitespace/blank_line src/*.cpp src/*.hpp
  21. DISTRIBUTABLES += $(wildcard LICENSE*) res
  22. .PHONY: cppcheck cpplint