/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-03 22:18:54 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130903221854-0xxnlloz690hs22o
Made the code compile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
8
FILES=src/baseobject.c #\
 
9
#      src/
 
10
 
 
11
DEPS=src/baseobject.h
 
12
 
 
13
$(LIBRARY):obj/baseobject.o $(DEPS)
 
14
        $(CC) $(CFLAGS) -shared -o $@ $<
 
15
 
 
16
obj/%.o: src/%.c $(DEPS)
 
17
        $(CC) $(CFLAGS) -c -o $@ $<