Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: defad7dc05
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.447 kb
SRC_DIR= libsass
BIN_DIR= bin
CC=gcc
CFLAGS= -c -Wall -O2
SOURCES= sassc.c
OBJECTS = $(SOURCES:.c=.o)
sassc: $(OBJECTS) libsass.a
gcc -O2 -o $(BIN_DIR)/sassc sassc.o $(SRC_DIR)/libsass.a -lstdc++
libsass.a: force_look
cd $(SRC_DIR); make
.c.o:
$(CC) $(CFLAGS) $< -o $@
test: sassc
ruby spec.rb spec/basic/
test_all: sassc
ruby spec.rb spec/
clean:
rm -rf *.o build/*.o *.a
rm -rf bin/*
cd $(SRC_DIR); make clean
force_look :
true
Jump to Line
Something went wrong with that request. Please try again.