You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
273 B
Makefile
14 lines
273 B
Makefile
2 years ago
|
|
||
|
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)"
|