lisp/Makefile @ f01b60ea69c5

Merge.
author Steve Losh <steve@stevelosh.com>
date Thu, 28 Feb 2019 14:01:51 -0500
parents e3f5572c7738
children c815c49ae234
files := $(shell ls *.lisp)
names := $(files:.lisp=)

.PHONY: all clean $(names)

all: $(names)

$(names): %: bin/% man/man1/%.1

bin/%: %.lisp build-binary
	mkdir -p bin
	./build-binary $<
	mv $(@F) bin/

man/man1/%.1: %.lisp build-manual
	mkdir -p man/man1
	./build-manual $<
	mv $(@F) man/man1/

clean:
	rm -rf bin man