~benaiah/fennel-openresty

ref: 269cbdcd3a8e7bcb045c7731f51c80f524a9c6b0 fennel-openresty/makefile -rw-r--r-- 325 bytes
269cbdcdBenaiah Mischenko Initial OpenResty+Fennel setup 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.PHONY: all
all: server

.PHONY: clean
clean: clean-server

.PHONY: server
server: server/server.lua server/html.lua

.PHONY: clean-server
clean-server:
	rm server/*.lua

server/server.lua: server/server.fnl ; modules/fennel/fennel --compile $^ > $@
server/html.lua: server/html.fnl ; modules/fennel/fennel --compile $^ > $@