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 |
|
|
23
by Gustav Hartvigsson
* Fixed some of the build warnings. |
8 |
OBJECTS=obj/baseobject.o\ |
9 |
obj/Error.o obj/Func.o\ |
|
10 |
obj/Map.o\ |
|
11 |
obj/SimpleTypeSystem.o\ |
|
12 |
obj/utils.o
|
|
|
2
by Gustav Hartvigsson
Made the code compile. |
13 |
|
|
23
by Gustav Hartvigsson
* Fixed some of the build warnings. |
14 |
DEPS=src/baseobject.h\ |
15 |
src/Error.o obj/Func.h\ |
|
16 |
src/Map.h\ |
|
17 |
src/SimpleTypeSystem.h\ |
|
18 |
obj/utils.h
|
|
|
2
by Gustav Hartvigsson
Made the code compile. |
19 |
|
|
4
by Gustav Hartvigsson
Fixed a few problems. |
20 |
$(LIBRARY):$(OBJECTS) |
21 |
$(CC) $(CFLAGS) -shared -o $@ $^ |
|
|
2
by Gustav Hartvigsson
Made the code compile. |
22 |
|
|
23
by Gustav Hartvigsson
* Fixed some of the build warnings. |
23 |
obj/%.o: src/%.c src/%.h |
|
2
by Gustav Hartvigsson
Made the code compile. |
24 |
$(CC) $(CFLAGS) -c -o $@ $< |