Makefile
28 lines
| 402 B
| text/x-makefile
|
MakefileLexer
r6 | ||||
r46 | BIN = txt2web | |||
r50 | DIST = $(BIN).tar.xz | |||
r1 | ||||
r44 | all: $(BIN) | |||
r46 | dist: $(DIST) | |||
r44 | graphs: diagrams.png | |||
r1 | ||||
r46 | $(BIN): *.asd src/*.lisp src/*.ps strings/*.sexp | |||
r50 | sbcl --load build.lisp -- $(BIN) | |||
r1 | ||||
r44 | %.png: %.dot | |||
r1 | dot $< -T png -o $@ | |||
r46 | $(DIST): $(BIN) extras/* | |||
tar cfvJ $@ $< extras | ||||
r1 | clean: | |||
r46 | rm -f $(BIN) $(DIST) | |||
r44 | ||||
r52 | clean-cache: | |||
-rm -rf ~/.cache/common-lisp | ||||
r44 | ||||
r52 | fresh: clean clean-cache all | |||
r53 | .PHONY: all graphs clean clean-cache fresh | |||