pomo/Makefile

14 lines
374 B
Makefile

.PHONY: default
default:
@echo "No default targets. Use one of the following targets."
@grep "^# target" Makefile
# target: dev -- start a watcher on pomo.fnl
dev: pomo.fnl
ls pomo.fnl | entr -c -r fennel pomo.fnl
# target: compile -- compile to a single lua file
compile: pomo.fnl
@fennel --compile --require-as-include pomo.fnl > pomo.lua
@echo "Created pomo.lua"