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 |
||
|
3
by Gustav Hartvigsson
Fixed a few things... |
8 |
OBJECTS=obj/baseobject.o obj/Error.o obj/SimpleTypeSystem.o |
|
2
by Gustav Hartvigsson
Made the code compile. |
9 |
|
10 |
DEPS=src/baseobject.h |
|
11 |
||
|
3
by Gustav Hartvigsson
Fixed a few things... |
12 |
$(LIBRARY):$(OBJECTS) $(DEPS) |
|
2
by Gustav Hartvigsson
Made the code compile. |
13 |
$(CC) $(CFLAGS) -shared -o $@ $< |
14 |
||
15 |
obj/%.o: src/%.c $(DEPS) |
|
16 |
$(CC) $(CFLAGS) -c -o $@ $< |