Constellations/Makefile

19 lines
326 B
Makefile
Raw Normal View History

2022-07-26 19:25:56 +02:00
LIB = unitJS WTK
2022-07-22 22:35:28 +02:00
WEBAPP = index.html style.css main.js
2022-07-23 18:32:27 +02:00
ROOT = $(PREFIX)/var/www
2022-07-22 22:35:28 +02:00
all: $(WEBAPP)
style.css: css
find $^ -type f -name '*.css' | xargs cat > $@
main.js: js/
sjw $(LIB:%=-I %) -o $@ $^
2022-07-23 18:32:27 +02:00
install: $(WEBAPP)
mkdir -p $(ROOT)
cp $(WEBAPP) $(ROOT)
refresh:
chromium `guix build -f guix.scm`/var/www/index.html