-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (20 loc) · 696 Bytes
/
Makefile
File metadata and controls
31 lines (20 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# macro
UGLIFY_JS = uglifyjs
all: fashion.min.js fashion.svg.min.js fashion.vml.min.js
clean:
rm -rf fashion.js fashion.min.js fashion.svg.js fashion.svg.min.js fashion.vml.js fashion.vml.min.js
fashion.js: src/*.js src/lib/*.js
./compile.py -o fashion.js src/main.js
fashion.svg.js: backends/svg/*.js
./compile.py -o fashion.svg.js backends/svg/svg.js
fashion.vml.js: backends/vml/*.js
./compile.py -o fashion.vml.js backends/vml/vml.js
fashion.min.js: fashion.js
$(UGLIFY_JS) $< > $@
fashion.svg.min.js: fashion.svg.js
$(UGLIFY_JS) $< > $@
fashion.vml.min.js: fashion.vml.js
$(UGLIFY_JS) $< > $@
check: $(MYSRCS)
node_modules/nodeunit/bin/nodeunit tests
.PHONY: all clean