mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-11-09 23:06:45 +00:00
23 lines
267 B
Makefile
23 lines
267 B
Makefile
|
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)
|
||
|
|
||
|
|