Makefile 801 B

1234567891011121314151617181920212223
  1. # If RACK_DIR is not defined when calling the Makefile, default to two directories above
  2. RACK_DIR ?= ../..
  3. # FLAGS will be passed to both the C and C++ compiler
  4. FLAGS +=
  5. CFLAGS +=
  6. CXXFLAGS +=
  7. # Careful about linking to shared libraries, since you can't assume much about the user's environment and library search path.
  8. # Static libraries are fine, but they should be added to this plugin's build system.
  9. LDFLAGS +=
  10. # Add .cpp files to the build
  11. SOURCES += $(wildcard src/*.cpp)
  12. # Add files to the ZIP package when running `make dist`
  13. # The compiled plugin and "plugin.json" are automatically added.
  14. DISTRIBUTABLES += res
  15. DISTRIBUTABLES += $(wildcard LICENSE*)
  16. DISTRIBUTABLES += $(wildcard presets)
  17. # Include the Rack plugin Makefile framework
  18. include $(RACK_DIR)/plugin.mk