From 93f7baae7fcd707f7080786a9c117fb92269d798 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 14 Sep 2014 21:27:21 +0000 Subject: use stdin --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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" + -- cgit v1.2.3