chiark / gitweb /
zone-run: Add simple script for running `zone' without a vast image.
[zone] / Makefile
1 bindir = $(HOME)/bin
2
3 SOURCES = \
4         zone.asd \
5         frontend.lisp \
6         zone.lisp \
7         net.lisp serv.lisp sys.lisp \
8         addr-family-ipv4.lisp addr-family-ipv6.lisp
9
10 all:: zone
11 zone: $(SOURCES)
12         ASDF_OUTPUT_TRANSLATIONS="(:output-translations ((#p\"$(abspath zone.img)\") t) :inherit-configuration)" \
13                 runlisp -e "(progn (asdf:clear-configuration) (asdf:operate 'asdf:program-op \"zone\"))"
14         mv zone.img $@
15 clean:: rm -f zone
16 install:: zone
17         install zone $(bindir)/