Commit c2bcb21b by Hampton Catlin

built a simple binary

parent 6a412791
CC=gcc
CFLAGS=-I.
BIN=bin/
BUILD=build/
SRC=src/
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
libsass: libsass.o
$(CC) -o $(BIN)main libsass.o
libsass.o:
$(CC) -c -g $(SRC)libsass.c
\ No newline at end of file
#include <stdio.h>
int main()
{
printf("I love Sass!\n");
return 0;
}
\ No newline at end of file
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