Makefile @ bf74ba7cd2b7

Add menu, dropping
author Steve Losh <steve@stevelosh.com>
date Sun, 08 Jan 2017 11:31:17 +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