aboutsummaryrefslogtreecommitdiff
path: root/common.mk
blob: 7462e156eb7fc606e95016dd915a9c5ff7674eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
M4FLAGS += -I..

JSMIN ?= ../scripts/js2min
CSSMIN ?= ../scripts/css2min

%.min.js: %.js
	$(JSMIN) $< > $@

%.min.css: %.css
	$(CSSMIN) $< > $@

%: %.m4
	m4 $(M4FLAGS) $< > $@

%.b64: %
	base64 -w0 $< > $@