Commit a8066e91 by Hampton Catlin

FIRST BUILD

parent 775f9047
sassc
build/* build/*
*.o *.o
a.out a.out
......
CC=gcc CC=gcc
CFLAGS=-I. CFLAGS=-I.
SRC=src/
%.o: %.c
$(CC) $(CFLAGS) -c $< -o build/$@
sassc: sassc.o sassc: sassc.o
$(CC) -o $(BIN)sassc src/sassc.o $(CC) -o $(BIN)sassc sassc.o libsass.o
sassc.o: libsass.o sassc.o: libsass.o
$(CC) -c -g $(SRC)sassc.c libsass.o: bstr
libsass.o:
\ No newline at end of file bstr: bstr/bsafe.o
bstr/bsafe.o:
clean:
rm -rf *.o
rm -rf sassc
\ No newline at end of file
#include "libsass.h" #include "libsass.h"
bstring sass_string_compile(char *input, int options) { char * sass_string_compile(char *input, int options) {
return "hi"; return input;
} }
\ No newline at end of file
#include "bstr/bstrlib.h" #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