From cb07259be5cd63a2540732510854d5f903333250 Mon Sep 17 00:00:00 2001 From: Simon Schuster Date: Thu, 8 Sep 2016 11:00:33 +0200 Subject: [PATCH] Added (basic) makefile --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8daaf8c --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +.PHONY: all + +all: ./library/copy.lua ./library/file.lua ./library/lineinfile.lua ./library/opkg.lua ./library/stat.lua ./library/ubus.lua ./library/uci.lua + +WHITELIST=io,os,posix.,ubus +FATPACKARGS=--whitelist $(WHITELIST) --truncate + +./library/%.lua : ./src/%.lua ./src/*.lua + ./src/fatpack.pl --input $^ --output $(dir $@) $(FATPACKARGS)