/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Gustav Hartvigsson
  • Date: 2014-12-22 11:32:35 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20141222113235-r6jrin8cj6p8m13w
* Fixed some of the build warnings.
* added TRUE and FALSE definitons.
* added S_TYPES enum.

* TODO:
  * Convert to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
CFLAGS=-std=c11 -Wall -fPIC -g
7
7
 
8
 
OBJECTS=obj/baseobject.o obj/Error.o obj/Func.o obj/Map.o obj/SimpleTypeSystem.o
 
8
OBJECTS=obj/baseobject.o\
 
9
        obj/Error.o obj/Func.o\
 
10
        obj/Map.o\
 
11
        obj/SimpleTypeSystem.o\
 
12
        obj/utils.o
9
13
 
10
 
DEPS=src/baseobject.h src/SimpleTypeSystem.h src/Error.h
 
14
DEPS=src/baseobject.h\
 
15
        src/Error.o obj/Func.h\
 
16
        src/Map.h\
 
17
        src/SimpleTypeSystem.h\
 
18
        obj/utils.h
11
19
 
12
20
$(LIBRARY):$(OBJECTS)
13
21
        $(CC) $(CFLAGS) -shared -o $@ $^
14
22
 
15
 
obj/%.o: src/%.c $(DEPS)
 
23
obj/%.o: src/%.c src/%.h
16
24
        $(CC) $(CFLAGS) -c -o $@ $<