Makefile @ f592e6093609 default tip

Merge.
author Steve Losh <steve@stevelosh.com>
date Mon, 13 Apr 2020 21:29:44 -0400
parents 1d2776f7fa4a da80130c3bbf
children (none)
.PHONY: vendor clean binary-sbcl binary-ccl binary

all: bin/brows

# 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
	mv brows bin