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.

28 lines
732B

  1. SLUG = NonLinearInstruments
  2. VERSION = 0.5.3
  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. # Add .cpp and .c files to the build
  11. SOURCES = $(wildcard src/*.cpp) $(wildcard classes/*.cpp)
  12. # Must include the VCV plugin Makefile framework
  13. include ../../plugin.mk
  14. # Convenience target for including files in the distributable release
  15. .PHONY: dist
  16. dist: all
  17. rm -rf dist
  18. mkdir -p dist/$(SLUG)
  19. cp LICENSE* dist/$(SLUG)/
  20. cp $(TARGET) dist/$(SLUG)/
  21. cp -R res dist/$(SLUG)/
  22. cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG)