set up default target
[rrq/hourglass.git] / manager / Makefile
1 # Use packnl to pack all scripts and templates into an embedded binary
2
3 TMPL = $(wildcard tmpl/*)
4 MAIN = basic_login.lsp
5 LSP = $(filter-out $(MAIN),$(wildcard *.lsp))
6 OTHER = www/hourglass.css www/images/hourglass.png
7
8 default: hourglass-web
9
10 LSP += siteconfig.lsp
11 .INTERMEDIATE: siteconfig.lsp
12 siteconfig.lsp: ../siteconfig.lsp
13         cp $< $@
14
15 hourglass-web: $(MAIN) $(LSP) $(TMPL) $(OTHER)
16         packnl -w $@ $^