#!/usr/bin/make all: $(patsubst %.el,%.elc,$(wildcard *.el)) %.elc: %.el emacs -q -no-site-file -L . --no-site-file -batch -f batch-byte-compile $<; clean: rm -f *.elc .PHONY: clean all