Finish port to asdf and make webserer template files

This commit is contained in:
2024-09-04 03:49:47 -07:00
parent b09948d77c
commit d85f58adf2
8 changed files with 252 additions and 149 deletions

View File

@ -2,14 +2,19 @@ LISP ?= sbcl
BASE_FILES=packages.lisp parse.lisp table.lisp typeset.lisp eval.lisp
CLI_FILES=cli.lisp
WEB_FILES=web.lisp
all: cli
all: cli web
cli: truth-table
truth-table: build.lisp truth-table.asd $(BASE_FILES) $(CLI_FILES)
$(LISP) --load build.lisp --eval '(cli)'
web: truth-table-webserver
truth-table-webserver: build.lisp truth-table.asd $(BASE_FILES) $(WEB_FILES)
$(LISP) --load build.lisp --eval '(web)'
clean:
rm -f truth-table
rm -f truth-table truth-table-webserver
.PHONY: all cli clean