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.

35 lines
1.1KB

  1. # If RACK_DIR is not defined when calling the Makefile, default to two directories above
  2. RACK_DIR ?= ../..
  3. # Must follow the format in the Naming section of
  4. # https://vcvrack.com/manual/PluginDevelopmentTutorial.html
  5. SLUG = rcm
  6. # Must follow the format in the Versioning section of
  7. # https://vcvrack.com/manual/PluginDevelopmentTutorial.html
  8. VERSION = 0.6.12
  9. # FLAGS will be passed to both the C and C++ compiler
  10. #FLAGS += -Idep/openmpt-libopenmpt-0.3.10/soundlib -Idep/openmpt-libopenmpt-0.3.10/common
  11. CFLAGS +=
  12. CXXFLAGS +=
  13. # Careful about linking to shared libraries, since you can't assume much about the user's environment and library search path.
  14. # Static libraries are fine.
  15. #LDFLAGS = -Ldep -Ldep/openmpt-libopenmpt-0.3.10/bin/libopenmpt.a
  16. #LDFLAGS = -Ldep
  17. # Add .cpp and .c files to the build
  18. SOURCES += $(wildcard src/*.cpp) $(wildcard src/**/*.cpp) $(wildcard src/*.c)
  19. # Add files to the ZIP package when running `make dist`
  20. # The compiled plugin is automatically added.
  21. DISTRIBUTABLES += $(wildcard LICENSE*) res
  22. # Include the VCV Rack plugin Makefile framework
  23. include $(RACK_DIR)/plugin.mk
  24. dep:
  25. $(MAKE) -C dep