22 lines
507 B
Makefile
22 lines
507 B
Makefile
SBCL ?= sbcl
|
|
|
|
BASE_FILES=base-packages.lisp parse.lisp table.lisp typeset.lisp eval.lisp \
|
|
arguments.lisp
|
|
CLI_FILES=cli.lisp
|
|
WEB_FILES=web.lisp
|
|
|
|
all: cli
|
|
|
|
cli: truth-table
|
|
truth-table: build.lisp truth-table.asd $(BASE_FILES) $(CLI_FILES)
|
|
$(SBCL) --load build.lisp --eval '(cli)'
|
|
|
|
web: truth-table-web-server
|
|
truth-table-web-server: build.lisp truth-table.asd $(BASE_FILES) $(WEB_FILES)
|
|
$(SBCL) --load build.lisp --eval '(web)'
|
|
|
|
clean:
|
|
rm -f truth-table truth-table-web-server
|
|
|
|
.PHONY: all cli web clean
|