Makefile @ f29a23574bd3

Hack in a starvation warning
author Steve Losh <steve@stevelosh.com>
date Sun, 08 Jan 2017 13:11:40 +0000
parents 2ee2dd0a706f
children b1532457fd8f
.PHONY: deploy update-deps

# Vendor ----------------------------------------------------------------------
vendor/quickutils.lisp: vendor/make-quickutils.lisp
	cd vendor && sbcl --noinform --load make-quickutils.lisp  --eval '(quit)'

vendor: vendor/quickutils.lisp

# Build -----------------------------------------------------------------------
lisps := $(shell ffind '\.(asd|lisp|ros)$$')

build/antipodes: $(lisps)
	ros build build/antipodes.ros

update-deps:
	hg -R /home/sjl/cl-losh -v pull -u
	hg -R /home/sjl/beast -v pull -u

/opt/antipodes/antipodes: update-deps build/antipodes
	rm -f /opt/antipodes/antipodes
	cp build/antipodes /opt/antipodes/antipodes

deploy: build/antipodes
	rsync --exclude=build/antipodes --exclude=.hg -avz . silt:/home/sjl/antipodes
	ssh silt make -C /home/sjl/antipodes /opt/antipodes/antipodes