Makefile
raw| 1 | emacs ?= emacs |
| 2 | |
| 3 | LOAD = -l dired-du.el |
| 4 | |
| 5 | all: test |
| 6 | |
| 7 | test: |
| 8 | $(emacs) -batch $(LOAD) -l dired-du-tests.el -f ert-run-tests-batch-and-exit |
| 9 | |
| 10 | compile: |
| 11 | $(emacs) -batch --eval "(progn (add-to-list 'load-path default-directory) (byte-compile-file \"dired-du.el\"))" |
| 12 | |
| 13 | clean: |
| 14 | rm -f *.elc |
| 15 | |
| 16 | .PHONY: all compile clean test |