Makefile 231 B

1234567891011121314151617
  1. files := $(wildcard *.lisp)
  2. names := $(files:.lisp=)
  3. .PHONY: all clean $(names)
  4. all: $(names)
  5. $(names): %: bin/%
  6. bin/%: %.lisp build-binary.sh Makefile
  7. mkdir -p bin
  8. ./build-binary.sh $<
  9. mv $(@F) bin/
  10. clean:
  11. rm -rf bin man