summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/src/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-21 18:30:14 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-22 12:49:14 +0100
commit17690f2d73b640cf4bbf082fe96f5b3075a040fe (patch)
tree0a2c56e6bb6298c4e69046d6c3c44bdf086325b5 /modules/luci-base/src/Makefile
parent9b7f606dc66d58f0e1f21d20e191498375da746f (diff)
build: add build option to minify *.js files
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/src/Makefile')
-rw-r--r--modules/luci-base/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-base/src/Makefile b/modules/luci-base/src/Makefile
index 03e887e1d..3e6ead108 100644
--- a/modules/luci-base/src/Makefile
+++ b/modules/luci-base/src/Makefile
@@ -4,6 +4,9 @@
clean:
rm -f po2lmo parser.so version.lua *.o
+jsmin: jsmin.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
po2lmo: po2lmo.o template_lmo.o
$(CC) $(LDFLAGS) -o $@ $^