2024-09-05 14:46:05 -07:00
|
|
|
SBCL ?= sbcl
|
2024-09-03 17:50:58 -07:00
|
|
|
|
2024-09-05 14:46:05 -07:00
|
|
|
BASE_FILES=base-packages.lisp parse.lisp table.lisp typeset.lisp eval.lisp \
|
|
|
|
|
arguments.lisp
|
2024-09-04 03:14:57 -07:00
|
|
|
CLI_FILES=cli.lisp
|
2026-02-13 03:24:48 -08:00
|
|
|
WEB_FILES=web.lisp
|
2024-09-03 17:50:58 -07:00
|
|
|
|
2026-02-13 03:43:54 -08:00
|
|
|
all: cli web
|
2024-09-04 03:14:57 -07:00
|
|
|
|
|
|
|
|
cli: truth-table
|
|
|
|
|
truth-table: build.lisp truth-table.asd $(BASE_FILES) $(CLI_FILES)
|
2024-09-05 14:46:05 -07:00
|
|
|
$(SBCL) --load build.lisp --eval '(cli)'
|
2024-09-04 03:49:47 -07:00
|
|
|
|
2026-02-13 03:24:48 -08:00
|
|
|
web: truth-table-web-server
|
|
|
|
|
truth-table-web-server: build.lisp truth-table.asd $(BASE_FILES) $(WEB_FILES)
|
|
|
|
|
$(SBCL) --load build.lisp --eval '(web)'
|
|
|
|
|
|
2024-09-03 17:50:58 -07:00
|
|
|
clean:
|
2026-02-13 03:29:51 -08:00
|
|
|
rm -f truth-table truth-table-web-server
|
2024-09-03 17:50:58 -07:00
|
|
|
|
2026-02-13 03:29:51 -08:00
|
|
|
.PHONY: all cli web clean
|