Makefile @ da80130c3bbf

Adopt adopt
author Steve Losh <steve@stevelosh.com>
date Fri, 21 Dec 2018 22:12:57 -0500
parents 3ecc82d75817
children f592e6093609
.PHONY: vendor clean binary-sbcl binary-ccl binary

all: 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) Makefile
	make binary-sbcl