From f9eba2d5a6728212c698da3650ce9c900008973c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 5 Jun 2013 01:38:02 +0400 Subject: [PATCH] more tweaking the Makefile... Signed-off-by: Alex A. Naanou --- ui/Makefile | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/ui/Makefile b/ui/Makefile index a114e8ab..649ce540 100755 --- a/ui/Makefile +++ b/ui/Makefile @@ -1,5 +1,11 @@ -# TODO: add minification... (???) - +# TODO: build to a BUILD_DIR... +# TODO: build all target platforms... +# - Windows (AppJS) +# - MacOSX (AppJS) +# - Windows8 (native?) XXX +# - PhoneGap-remote +# push and api call to fetch and rebuild +# - PhoneGap-local XXX # process LESS files to CSS... %.css: %.less @@ -18,12 +24,25 @@ CSS_FILES := $(patsubst %.less,%.css,$(wildcard *.less)) JS_FILES := $(patsubst %.js,%.min.js,$(wildcard *.js)) + all: css + css: $(CSS_FILES) minify: $(JS_FILES) + +# build targets... + +windows: css minify + +mac: css minify + +phonegap-remote: css minify + + + clean: @rm -f $(CSS_FILES) @rm -f $(JS_FILES)