2024-09-03 17:50:58 -07:00
|
|
|
LISP ?= sbcl
|
|
|
|
|
2024-09-04 03:14:57 -07:00
|
|
|
BASE_FILES=packages.lisp parse.lisp table.lisp typeset.lisp eval.lisp
|
|
|
|
CLI_FILES=cli.lisp
|
2024-09-04 03:49:47 -07:00
|
|
|
WEB_FILES=web.lisp
|
2024-09-03 17:50:58 -07:00
|
|
|
|
2024-09-04 03:49:47 -07: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)
|
|
|
|
$(LISP) --load build.lisp --eval '(cli)'
|
2024-09-03 17:50:58 -07:00
|
|
|
|
2024-09-04 03:49:47 -07:00
|
|
|
web: truth-table-webserver
|
|
|
|
truth-table-webserver: build.lisp truth-table.asd $(BASE_FILES) $(WEB_FILES)
|
|
|
|
$(LISP) --load build.lisp --eval '(web)'
|
|
|
|
|
2024-09-03 17:50:58 -07:00
|
|
|
clean:
|
2024-09-04 03:49:47 -07:00
|
|
|
rm -f truth-table truth-table-webserver
|
2024-09-03 17:50:58 -07:00
|
|
|
|
2024-09-04 03:14:57 -07:00
|
|
|
.PHONY: all cli clean
|