changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > demo / makefile

changeset 13: 1fedeaa5bfc5
parent: b9720ba9c4a0
child: 2bbf5ce73537
author: ellis <ellis@rwest.io>
date: Fri, 19 May 2023 22:38:49 -0400
permissions: -rw-r--r--
description: tweaks to ffi and makefile
1 M ?= release
2 L ?= sbcl
3 P ?= python3
4 
5 RS:Cargo.toml build.rs lib.rs obj fig
6 CL:*.asd *.lisp
7 .PHONY:build
8 clean:;rm -rf *.fasl;cargo clean
9 fmt:;cargo fmt
10 build:$(RS) $(CL);cargo build --$(M);$L install.lisp
11 ffi:build;cp target/$(M)/libdemo.dylib ffi;cd ffi;$(P) ffi/build.py
12 docs:$(RS);cargo doc
13 test:$(RS);cargo test
14 #pack:;scripts/pack.ros
15 #check:;scripts/check.ros
16 ci:clean fmt build ffi docs test;