forked from d3/d3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
53 lines (48 loc) · 895 Bytes
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
JS_COMPILER = \
java -jar lib/google-compiler/compiler.jar \
--externs=src/externs.js \
--warning_level=VERBOSE \
--charset=UTF-8
SRC_FILES = \
src/date.js \
src/object.js \
src/start.js \
src/array.js \
src/blend.js \
src/call.js \
src/range.js \
src/ns.js \
src/dispatch.js \
src/format.js \
src/ease.js \
src/event.js \
src/interpolate.js \
src/rgb.js \
src/hsl.js \
src/linear.js \
src/log.js \
src/pow.js \
src/sqrt.js \
src/ordinal.js \
src/category.js \
src/root.js \
src/select.js \
src/selectAll.js \
src/selection.js \
src/transition.js \
src/timer.js \
src/tween.js \
src/arc.js \
src/line.js \
src/area.js \
src/end.js
all: d3.js d3.min.js
d3.min.js: d3.js Makefile src/externs.js
rm -f $@
$(JS_COMPILER) --js $< --js_output_file $@
d3.js: $(SRC_FILES) Makefile
rm -f $@
cat $(SRC_FILES) >> $@
chmod a-w $@
clean:
rm -f d3.js d3.min.js