Constellations/Makefile

16 lines
258 B
Makefile
Raw Normal View History

2022-07-22 22:35:28 +02:00
LIB = unitJS
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)