Hey!
I've noticed that the current SVN versions still don't build .so libraries.
That would only mean to add this lines to Source/Makefile:
I've noticed that the current SVN versions still don't build .so libraries.
That would only mean to add this lines to Source/Makefile:
Code:
TARGETS+= Gen/float/libbox2d.so Gen/fixed/libbox2d.so
...
Gen/float/libbox2d.so: $(addprefix Gen/float/,$(SOURCES:.cpp=.o))
$(CXX) -shared -fPIC -C $^ -o $@ -lm -lgcc
Gen/fixed/libbox2d.so: $(addprefix Gen/fixed/,$(SOURCES:.cpp=.o))
$(CXX) -shared -fPIC -C $^ -o $@ -lm -lgcc
...
Gen/float/libbox2d.so: $(addprefix Gen/float/,$(SOURCES:.cpp=.o))
$(CXX) -shared -fPIC -C $^ -o $@ -lm -lgcc
Gen/fixed/libbox2d.so: $(addprefix Gen/fixed/,$(SOURCES:.cpp=.o))
$(CXX) -shared -fPIC -C $^ -o $@ -lm -lgcc