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.

40 lines
882B

  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. cd dep && $(WGET) "https://duktape.org/duktape-2.4.0.tar.xz"
  16. cd dep && $(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. include $(RACK_DIR)/plugin.mk