random-scripts/cl/Makefile

17 lines
231 B
Makefile
Raw Normal View History

2023-09-28 22:28:06 -07:00
files := $(wildcard *.lisp)
names := $(files:.lisp=)
.PHONY: all clean $(names)
all: $(names)
$(names): %: bin/%
bin/%: %.lisp build-binary.sh Makefile
mkdir -p bin
./build-binary.sh $<
mv $(@F) bin/
clean:
rm -rf bin man