17 lines
231 B
Makefile
17 lines
231 B
Makefile
|
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
|