From af26aaa53d073a7b2d25caee93e1cb5ceb2e099c Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Fri, 23 Oct 2009 09:07:01 -0400 Subject: flot-0.6 --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f90a969 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +# Makefile for generating minified files + +YUICOMPRESSOR_PATH=../yuicompressor-2.3.5.jar + +# if you need another compressor path, just copy the above line to a +# file called Makefile.local, customize it and you're good to go +-include Makefile.local + +.PHONY: all + +# we cheat and process all .js files instead of listing them +all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js))) + +%.min.js: %.js + java -jar $(YUICOMPRESSOR_PATH) $< -o $@ -- cgit v1.2.3