1 M?=release 2 L?=sbcl 3 C?=default.cfg 4 L_C=$(L) --no-userinit 5 L_D=$(L) --load demo.asd --eval '(ql:quickload "demo")' 6 L_S=$(L) --script 7 ARCH?= 8 A_C=ifeq ($(ARCH),x86_64) A_C=arch -$(ARCH) endif 9 .PHONY:build 10 RS:Cargo.toml rustfmt.toml src/crates/* 11 CL:*/*.asd */*.lisp 12 deps:; 13 clean:;rm -rf *.fasl;cargo clean 14 fmt:$(RS);cargo fmt 15 build:$(RS) $(CL);cargo build --$(M);$(L_D) 16 --eval '(asdf:make "demo")' \ 17 --eval '(quit)' 18 docs:$(RS);cargo doc 19 test:$(RS) $(CL);cargo test;$(L_D) --eval '(asdf:test "demo")' --eval '(quit)' 20 #pack:;scripts/pack.ros 21 #check:;scripts/check.ros 22 ci:clean fmt build docs test;