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.

46 lines
1.2KB

  1. SLUG = BaconMusic
  2. VERSION = 0.6.2
  3. RELEASE_BRANCH = release_0.6.2
  4. # FLAGS will be passed to both the C and C++ compiler
  5. FLAGS +=
  6. CFLAGS +=
  7. CXXFLAGS += -Werror
  8. # Careful about linking to shared 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. # Add files to the ZIP package when running `make dist`
  14. # The compiled plugin is automatically added.
  15. DISTRIBUTABLES += $(wildcard LICENSE*) res docs patches README.md
  16. # Include the VCV plugin Makefile framework
  17. RACK_DIR ?= ../..
  18. include $(RACK_DIR)/plugin.mk
  19. shadist: dist
  20. openssl sha256 dist/$(SLUG)-$(VERSION)-$(ARCH).zip > dist/$(SLUG)-$(VERSION)-$(ARCH).zip.sha256
  21. COMMUNITY_ISSUE=https://github.com/VCVRack/community/issues/433
  22. issue_blurb: dist
  23. git diff --exit-code
  24. git diff --cached --exit-code
  25. @echo
  26. @echo "Paste this into github issue " $(COMMUNITY_ISSUE)
  27. @echo
  28. @echo "* Version: v$(VERSION)"
  29. @echo "* Transaction: " `git rev-parse HEAD`
  30. @echo "* Branch: " `git rev-parse --abbrev-ref HEAD`
  31. push_git:
  32. @echo "Pushing current branch to git and dropbox"
  33. git push dropbox `git rev-parse --abbrev-ref HEAD`
  34. git push github `git rev-parse --abbrev-ref HEAD`