Solar Array and home energy dashboard.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
363 B

  1. .PHONY: all
  2. .SUFFIXES: .jspp .js
  3. JSFILES = root/js/solardash.file.js
  4. root/js/jquery.js:
  5. wget -O $@ "https://code.jquery.com/jquery-3.4.1.min.js"
  6. # manual deps
  7. root/js/solardash.file.js: root/js/jquery.js root/js/solardash.base.js
  8. all: $(JSFILES)
  9. .jspp.js:
  10. cpp -E $< | sed -e '/^#/d' > $@
  11. keepupdate:
  12. find . -name '*.js' -o -name '*.jspp' | entr make all