~nature/galaxy.moe

a55cf3149def3be6f5d12e67f4d82e768b6324e3 — LordNature 4 years ago 48c0e0b
Makefile: Added phony & changed for build directory
1 files changed, 11 insertions(+), 4 deletions(-)

M Makefile
M Makefile => Makefile +11 -4
@@ 1,8 1,13 @@
all: css
.PHONY: all assets css watch clean

all: assets css

css:
	mkdir -p static/css
	sassc -Iscss scss/main.sass static/css/main.css
	mkdir -p build
	sassc -Iscss scss/main.sass build/assets/main.css

assets:
	cp -r assets build

# Requires inotify-tools
watch:


@@ 11,4 16,6 @@ watch:
		do make; done

clean:
	rm -rf static/css
	rm -r build

.DEFAULT_GOAL=all