root / hci / trunk / eneraptor-web-app / web-app / js / flot / Makefile @ 70
History | View | Annotate | Download (451 Bytes)
1 | 11 | alexbesir | # Makefile for generating minified files |
---|---|---|---|
2 | |||
3 | YUICOMPRESSOR_PATH=../yuicompressor-2.3.5.jar |
||
4 | |||
5 | # if you need another compressor path, just copy the above line to a |
||
6 | # file called Makefile.local, customize it and you're good to go |
||
7 | -include Makefile.local |
||
8 | |||
9 | .PHONY: all |
||
10 | |||
11 | # we cheat and process all .js files instead of listing them |
||
12 | all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js))) |
||
13 | |||
14 | %.min.js: %.js |
||
15 | java -jar $(YUICOMPRESSOR_PATH) $< -o $@ |