summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-16 22:30:04 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-16 22:30:52 +0200
commit0b18b3056030c5571e0223c1c91f6538b97eacfa (patch)
tree2932de1ee936f531b0ad5d368bb09e519892d0d7 /Makefile
parent087441628ffaa0ebfd01e4a9f163bcca29cd6f80 (diff)
Generate CSS from SCSS using sassc.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2bd51ec
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+cssfiles := css/main.css css/print.css
+
+all: $(cssfiles)
+
+$(cssfiles): css/%.css : css/%.scss
+ sassc $< $@
+
+clean:
+ rm -f $(cssfiles)
+
+.PHONY: clean