lisp/Makefile @ c6afac579697

More
author Steve Losh <steve@stevelosh.com>
date Thu, 20 Dec 2018 17:11:06 -0500
parents a9e85b8e5f66
children e3f5572c7738
files := $(shell ls *.lisp)
binaries := $(files:.lisp=)

.PHONY: all $(binaries)

all: $(binaries)

%: bin/% man/%.1
	echo

clean:
	rm -rf bin man

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

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

bin:
	mkdir -p bin

man:
	mkdir -p man