Nested makefile and libraries from CDN

This commit is contained in:
2022-06-02 18:45:10 +02:00
parent 9aea9bc3a8
commit 9393fa73b9
5 changed files with 45 additions and 28 deletions
+14
View File
@@ -0,0 +1,14 @@
JS_SOURCES = src/utenti.js
JS_BUNDLES = $(patsubst src/%.js, dist/%.min.js, $(JS_SOURCES))
.PHONY: all
all: $(JS_BUNDLES)
dist/%.min.js: src/%.js
rollup -c rollup.config.js $<
.PHONY: debug
debug:
@echo "JS_SOURCES = $(JS_SOURCES)"
@echo "JS_BUNDLES = $(JS_BUNDLES)"