X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=Makefile;h=dfa7a11eea67383475d44e3435f41e2975691576;hp=bcd6a484194acb7eba7bdc8ecd18089ea0646734;hb=76d158a36bde53452e8724b2202dd3ccf6c2da40;hpb=b9b698680f54ccff3f8d2c7f43dd921f89b6db68 diff --git a/Makefile b/Makefile index bcd6a48..dfa7a11 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,32 @@ +.PHONY: all clean test test-acl test-sbcl + +test-file:=`pwd`/run-tests.lisp all: clean: - @rm -rf `find . -name \*~ -or -name \*.fasl -or -name \*.x86f -or -name \*.fas -or -name \*.err -or -name \*.fasl[am][18]\* -or -name \*.ufsl -or -name \*.dfsl -or -name \*.cfsl` + @find . -type f -name "*.fasl*" -or -name "*.ufsl" -or -name "*.x86f" \ + -or -name "*.fas" -or -name "*.pfsl" -or -name "*.dfsl" \ + -or -name "*~" -or -name ".#*" -or -name "#*#" | xargs rm -f + +test: test-alisp + +test-alisp: + alisp8 -q -L $(test-file) + +test-mlisp: + mlisp -q -L $(test-file) + +test-sbcl: + sbcl --noinform --disable-debugger --userinit $(test-file) + +test-cmucl: + lisp -init $(test-file) + +test-lw: + lw-console -init $(test-file) + +test-scl: + scl -init $(test-file) + +test-clisp: + clisp -norc -q -i $(test-file)