37 lines
412 B
Makefile
37 lines
412 B
Makefile
STATIC = static
|
|
STATIC_CSS = $(STATIC)/css
|
|
STATIC_JS = $(STATIC)/js
|
|
|
|
|
|
all: hello build
|
|
|
|
|
|
hello:
|
|
@cowsay 'Welcome to Hy!'
|
|
|
|
|
|
build: clean css js
|
|
|
|
css: less
|
|
cp css/* $(STATIC_CSS)
|
|
|
|
js: coffee
|
|
cp js/* $(STATIC_JS)
|
|
|
|
less:
|
|
make -C less
|
|
mv less/*css $(STATIC_CSS)
|
|
|
|
|
|
coffee:
|
|
make -C coffee
|
|
mv coffee/*js $(STATIC_JS)
|
|
|
|
clean:
|
|
rm -f $(STATIC_CSS)/hy.css
|
|
|
|
devel:
|
|
@./devel.sh
|
|
|
|
.PHONY: build clean less coffee devel
|