Makefile 302 B

123456789101112131415
  1. FENNEL = /usr/bin/fennel
  2. LUA_VERSION = 5.3
  3. LUA_DIR = /usr/share/lua/$(LUA_VERSION)/
  4. all: lispy-fennel.lua
  5. .PHONY: all
  6. lispy-fennel.lua: lispy-fennel.fnl
  7. $(FENNEL) --compile lispy-fennel.fnl > lispy-fennel.lua
  8. install: lispy-fennel.lua
  9. cp -f lispy-fennel.lua $(LUA_DIR)
  10. clean:
  11. rm lispy-fennel.lua