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.

66 lines
2.0KB

  1. RACK_DIR ?= ../..
  2. FLAGS +=
  3. CFLAGS +=
  4. CXXFLAGS +=
  5. LDFLAGS +=
  6. SOURCES += $(wildcard src/*.cpp)
  7. DISTRIBUTABLES += res examples
  8. DISTRIBUTABLES += $(wildcard LICENSE*)
  9. # Duktape
  10. duktape := dep/duktape-2.4.0/src/duktape.c
  11. DEPS += $(duktape)
  12. SOURCES += $(duktape)
  13. FLAGS += -Idep/duktape-2.4.0/src
  14. $(duktape):
  15. $(WGET) "https://duktape.org/duktape-2.4.0.tar.xz"
  16. $(SHA256) duktape-2.4.0.tar.xz 86a89307d1633b5cedb2c6e56dc86e92679fc34b05be551722d8cc69ab0771fc
  17. cd dep && $(UNTAR) ../duktape-2.4.0.tar.xz
  18. # # LuaJIT
  19. # luajit := dep/lib/luajit.a
  20. # DEPS += $(luajit)
  21. # $(luajit):
  22. # cd dep && $(WGET) "http://luajit.org/download/LuaJIT-2.0.5.tar.gz"
  23. # cd dep && $(SHA256) LuaJIT-2.0.5.tar.gz 874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979
  24. # cd dep && $(UNTAR) LuaJIT-2.0.5.tar.gz
  25. # cd dep/LuaJIT-2.0.5 && $(MAKE)
  26. # # Julia
  27. # julia := dep/lib/libjulia.a
  28. # DEPS += $(julia)
  29. # $(julia):
  30. # $(WGET) "https://github.com/JuliaLang/julia/releases/download/v1.2.0/julia-1.2.0-full.tar.gz"
  31. # $(SHA256) julia-1.2.0-full.tar.gz 2419b268fc5c3666dd9aeb554815fe7cf9e0e7265bc9b94a43957c31a68d9184
  32. # cd dep && $(UNTAR) ../julia-1.2.0-full.tar.gz
  33. # # Python
  34. # python := dep/lib/libpython3.7m.a
  35. # DEPS += $(python)
  36. # OBJECTS += $(python)
  37. # FLAGS += -Idep/include/python3.7m
  38. # LDFLAGS += -lcrypt -lpthread -ldl -lutil -lm
  39. # $(python):
  40. # $(WGET) "https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tar.xz"
  41. # $(SHA256) Python-3.7.4.tar.xz fb799134b868199930b75f26678f18932214042639cd52b16da7fd134cd9b13f
  42. # cd dep && $(UNTAR) ../Python-3.7.4.tar.xz
  43. # cd dep/Python-3.7.4 && $(CONFIGURE) --build=$(MACHINE) --enable-optimizations
  44. # cd dep/Python-3.7.4 && $(MAKE) build_all
  45. # cd dep/Python-3.7.4 && $(MAKE) install
  46. # # Csound
  47. # csound := dep/lib/libcsound.a
  48. # DEPS += $(csound)
  49. # $(csound):
  50. # $(WGET) "https://github.com/csound/csound/archive/6.13.0.tar.gz"
  51. # $(SHA256) 6.13.0.tar.gz 183beeb3b720bfeab6cc8af12fbec0bf9fef2727684ac79289fd12d0dfee728b
  52. # cd dep && $(UNTAR) ../6.13.0.tar.gz
  53. include $(RACK_DIR)/plugin.mk