Commit a8066e91 by Hampton Catlin

FIRST BUILD

parent 775f9047
sassc
build/*
*.o
a.out
......
CC=gcc
CFLAGS=-I.
SRC=src/
%.o: %.c
$(CC) $(CFLAGS) -c $< -o build/$@
sassc: sassc.o
$(CC) -o $(BIN)sassc sassc.o libsass.o
sassc: sassc.o
$(CC) -o $(BIN)sassc src/sassc.o
sassc.o: libsass.o
$(CC) -c -g $(SRC)sassc.c
libsass.o:
\ No newline at end of file
libsass.o: bstr
bstr: bstr/bsafe.o
bstr/bsafe.o:
clean:
rm -rf *.o
rm -rf sassc
\ No newline at end of file
#include "libsass.h"
bstring sass_string_compile(char *input, int options) {
return "hi";
char * sass_string_compile(char *input, int options) {
return input;
}
\ No newline at end of file
#include "bstr/bstrlib.h"
bstring sass_string_compile(char *input, int options);
char * sass_string_compile(char *input, int options);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment