diff --git a/static-src/Makefile b/static-src/Makefile
index e01aded32fd73882829e3e23d618324f295cc8d3..585229344502d6ac74cc41ff1ab7a09a46dafeb6 100644
--- a/static-src/Makefile
+++ b/static-src/Makefile
@@ -4,11 +4,16 @@ SCSS = scss
 OUT_DIR = out
 TARGET = style.css
 
+SCSS_INCLUDE = . $(OUT_DIR)
+SCSS_FLAGS = --sourcemap=auto \
+			 $(addprefix -I,$(SCSS_INCLUDE))
+
 DESTDIR =
 PREFIX = /usr/local/share/muppet/
 # Path relative install root where the static files should end up
 LOCAL_PATH = static
 
+
 # Highlighting files
 highlights = $(wildcard highlight/*.yaml)
 # Colorscheme files
@@ -29,7 +34,7 @@ clean:
 	-rm $(TARGET).map
 
 $(TARGET): style.scss $(SCSS_FILES) $(outputs)
-	$(SCSS) --sourcemap=auto -I. -Iout $< $@
+	$(SCSS) $(SCSS_FLAGS) $< $@
 
 $(OUT_DIR)/_highlight_%.scss: highlight/%.yaml $(OUT_DIR)
 	./build_css.py highlight $< > $@