Constellations/Makefile

18 lines
326 B
Makefile

LIB = unitJS WTK
WEBAPP = index.html style.css main.js
ROOT = $(PREFIX)/var/www
all: $(WEBAPP)
style.css: css
find $^ -type f -name '*.css' | xargs cat > $@
main.js: js/
sjw $(LIB:%=-I %) -o $@ $^
install: $(WEBAPP)
mkdir -p $(ROOT)
cp $(WEBAPP) $(ROOT)
refresh:
chromium `guix build -f guix.scm`/var/www/index.html