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 |
||
|
16
by Gustav Hartvigsson
* Made sure the code compiled |
6 |
CFLAGS=-std=c11 -Wall -fPIC -g |
|
2
by Gustav Hartvigsson
Made the code compile. |
7 |
|
|
5.2.1
by Gustav Hartvigsson
Started work on the Map (SMap) data structure. |
8 |
OBJECTS=obj/baseobject.o obj/Error.o obj/Func.o obj/Map.o obj/SimpleTypeSystem.o |
|
2
by Gustav Hartvigsson
Made the code compile. |
9 |
|
|
4
by Gustav Hartvigsson
Fixed a few problems. |
10 |
DEPS=src/baseobject.h src/SimpleTypeSystem.h src/Error.h |
|
2
by Gustav Hartvigsson
Made the code compile. |
11 |
|
|
4
by Gustav Hartvigsson
Fixed a few problems. |
12 |
$(LIBRARY):$(OBJECTS) |
13 |
$(CC) $(CFLAGS) -shared -o $@ $^ |
|
|
2
by Gustav Hartvigsson
Made the code compile. |
14 |
|
15 |
obj/%.o: src/%.c $(DEPS) |
|
16 |
$(CC) $(CFLAGS) -c -o $@ $< |