summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile11
-rw-r--r--css/main.scss (renamed from css/main.css)0
-rw-r--r--css/print.scss (renamed from css/print.css)0
4 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..08bbd2c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+css/*.css
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
diff --git a/css/main.css b/css/main.scss
index b0ed6a1..b0ed6a1 100644
--- a/css/main.css
+++ b/css/main.scss
diff --git a/css/print.css b/css/print.scss
index c63e4c2..c63e4c2 100644
--- a/css/print.css
+++ b/css/print.scss