aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-08-22 18:13:41 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-08-22 18:13:41 +0900
commitf91fec3cc4c7ccc581f08401b7768f44b5f335ad (patch)
tree420f14ccb82e59102feaf4875a44f5e0d9afd7f2 /Makefile
parent2e3d30de9209a9affd6225cba5f60a9b6ac935e4 (diff)
Add Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..08aa1e6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+.PHONY: clean all
+
+all: blackjack.cert
+
+standard-52-card-deck/top.cert: standard-52-card-deck/top.lisp
+ make -C "standard-52-card-deck"
+
+blackjack.cert: blackjack.lisp standard-52-card-deck/top.cert
+ -rm -f $@
+ acl2 <<< '(CERTIFY-BOOK "$(basename $@)")'
+ test -f $@
+
+clean:
+ rm -f blackjack.{cert,fasl,port}
+ make -C "standard-52-card-deck" clean