bzr branch
http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk
|
2
by Gustav Hartvigsson
Made the code compile. |
1 |
CC=gcc |
2 |
||
3 |
# This is the name of the outputed shared object
|
|
4 |
LIBRARY=lib/libssts.so #library supersimpletyesystem |
|
5 |
||
6 |
CFLAGS=-Wall -fPIC |
|
7 |
||
8 |
FILES=src/baseobject.c #\ |
|
9 |
# src/
|
|
10 |
||
11 |
DEPS=src/baseobject.h |
|
12 |
||
13 |
$(LIBRARY):obj/baseobject.o $(DEPS) |
|
14 |
$(CC) $(CFLAGS) -shared -o $@ $< |
|
15 |
||
16 |
obj/%.o: src/%.c $(DEPS) |
|
17 |
$(CC) $(CFLAGS) -c -o $@ $< |