3
# This is the name of the outputed shared object
4
LIBRARY=lib/libssts.so #library supersimpletyesystem
6
CFLAGS=-std=c11 -Wall -fPIC -g
8
OBJECTS=obj/baseobject.o\
9
obj/Error.o obj/Func.o\
11
obj/SimpleTypeSystem.o\
14
DEPS=src/baseobject.h\
15
src/Error.o obj/Func.h\
17
src/SimpleTypeSystem.h\
21
$(CC) $(CFLAGS) -shared -o $@ $^
23
obj/%.o: src/%.c src/%.h
24
$(CC) $(CFLAGS) -c -o $@ $<