python-csanal/maps/Makefile

23 lines
267 B
Makefile
Raw Normal View History

2018-01-14 21:21:54 +00:00
CC=node_modules/.bin/coffee
ASSETDIR=assets
SRC=$(wildcard $(ASSETDIR)/*.coffee)
BUILD=$(SRC:%.coffee=%.js)
all: coffee
# coffeescript files
coffee: $(BUILD)
$(ASSETDIR)/%.js: $(ASSETDIR)/%.coffee
$(CC) -m -c $<
# cleanup
.PHONY: clean
clean:
-rm $(BUILD)