SBCL ?= sbcl

BASE_FILES=base-packages.lisp parse.lisp table.lisp typeset.lisp eval.lisp \
arguments.lisp
CLI_FILES=cli.lisp

all: cli

cli: truth-table
truth-table: build.lisp truth-table.asd $(BASE_FILES) $(CLI_FILES)
	$(SBCL) --load build.lisp --eval '(cli)'

clean:
	rm -f truth-table

.PHONY: all cli clean