-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
27 lines (20 loc) · 839 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
ifneq (, $(shell which yui-compressor))
YUICOMPRESSOR := 'yui-compressor'
else ifneq (, $(shell which yuicompressor))
YUICOMPRESSOR := 'yuicompressor'
else
$(error "No YUI Compressor found!")
endif
all: min/wmaglobe3d.min.js min/utils.min.js min/wmajt_dev.min.js min/wmajt.min.js min/wmacore_dev.min.js min/wmacore.min.js
min/wmaglobe3d.min.js: wmaglobe3d.js
$(YUICOMPRESSOR) wmaglobe3d.js > min/wmaglobe3d.min.js
min/utils.min.js: utils.js
$(YUICOMPRESSOR) utils.js > min/utils.min.js
min/wmajt_dev.min.js: wmajt_dev.js
$(YUICOMPRESSOR) wmajt_dev.js > min/wmajt_dev.min.js
min/wmajt.min.js: wmajt.js
$(YUICOMPRESSOR) wmajt.js > min/wmajt.min.js
min/wmacore_dev.min.js: wmacore_dev.js
$(YUICOMPRESSOR) wmacore_dev.js > min/wmacore_dev.min.js
min/wmacore.min.js: wmacore.js
$(YUICOMPRESSOR) wmacore.js > min/wmacore.min.js