Make it actually do something useful
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 04 May 2018 21:45:28 -0400 |
parents |
6d47b460c878 |
children |
1d2776f7fa4a da80130c3bbf |
.PHONY: vendor clean binary-sbcl binary-ccl binary
# Vendor ----------------------------------------------------------------------
vendor/quickutils.lisp: vendor/make-quickutils.lisp
cd vendor && sbcl --noinform --load make-quickutils.lisp --eval '(quit)'
vendor: vendor/quickutils.lisp
# Clean -----------------------------------------------------------------------
clean:
rm -rf bin
# Build -----------------------------------------------------------------------
lisps := $(shell ffind '\.(asd|lisp)$$')
bin:
mkdir -p bin
binary-sbcl: bin
/usr/local/bin/sbcl --noinform --load "src/build.lisp"
binary-ccl: bin
/usr/local/bin/ccl64 --load "src/build.lisp"
binary: binary-sbcl
bin/brows: $(lisps) $(assets) Makefile
make binary-sbcl