bzr branch
http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
CC=gcc # This is the name of the outputed shared object LIBRARY=lib/libssts.so #library supersimpletyesystem CFLAGS=-std=c11 -Wall -fPIC -g OBJECTS=obj/baseobject.o obj/Error.o obj/Func.o obj/Map.o obj/SimpleTypeSystem.o DEPS=src/baseobject.h src/SimpleTypeSystem.h src/Error.h $(LIBRARY):$(OBJECTS) $(CC) $(CFLAGS) -shared -o $@ $^ obj/%.o: src/%.c $(DEPS) $(CC) $(CFLAGS) -c -o $@ $< |