aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6922f76..3d0c08e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
all:
- gcc sass.c -I ./libsass/ ./libsass/libsass.a -o sass -lstdc++
+ gcc sass.c -I ./libsass/ ./libsass/libsass.a -o sass -lstdc++ -O2 -march=native
+ @echo "Testing Sass"
+ @./sass < test.scss > test.css
+ @diff test.css test.css.correct || echo -e "\e[0;31merror: sass isn't compiling properly" && echo "ok"
+