/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: 2013-09-04 16:49:28 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130904164928-q0clz7tyrshgnfuv
Fixed a few problems.
Added a test. (it should core-dump, no werries!).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# This is the name of the outputed shared object
4
4
LIBRARY=lib/libssts.so #library supersimpletyesystem
5
5
 
6
 
CFLAGS=-Wall -fPIC
 
6
CFLAGS=-Wall -fPIC -g
7
7
 
8
8
OBJECTS=obj/baseobject.o obj/Error.o obj/SimpleTypeSystem.o
9
9
 
10
 
DEPS=src/baseobject.h
 
10
DEPS=src/baseobject.h src/SimpleTypeSystem.h src/Error.h
11
11
 
12
 
$(LIBRARY):$(OBJECTS) $(DEPS)
13
 
        $(CC) $(CFLAGS) -shared -o $@ $<
 
12
$(LIBRARY):$(OBJECTS)
 
13
        $(CC) $(CFLAGS) -shared -o $@ $^
14
14
 
15
15
obj/%.o: src/%.c $(DEPS)
16
16
        $(CC) $(CFLAGS) -c -o $@ $<