Commit 44cd8341 by Hampton Catlin

splitting lib from binary

parent c2bcb21b
......@@ -5,10 +5,9 @@ BIN=bin/
BUILD=build/
SRC=src/
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
libsass: libsass.o
$(CC) -o $(BIN)main libsass.o
sassc: sassc.o
$(CC) -o $(BIN)sassc libsass.o
sassc.o:
$(CC) -c -g $(SRC)sassc.c
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
#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