LISP ?= sbcl BASE_FILES=packages.lisp parse.lisp table.lisp typeset.lisp eval.lisp CLI_FILES=cli.lisp WEB_FILES=web.lisp 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 truth-table-webserver .PHONY: all cli clean