--- makefile.orig 2017-08-29 20:27:36.000000000 +0000 +++ makefile 2017-10-21 15:15:47.000000000 +0000 @@ -55,10 +55,15 @@ $(OBJECTS): $(HEADERS) +all: libtommath.$(VERSION).dylib $(LIBNAME) + $(LIBNAME): $(OBJECTS) $(AR) $(ARFLAGS) $@ $(OBJECTS) $(RANLIB) $@ +libtommath.$(VERSION).dylib: $(OBJECTS) + $(CC) -fno-common -dynamiclib -o $@ $(OBJECTS) -current_version $(VERSION) -compatibility_version $(VERSION) -install_name $(LIBPATH)/$@ + #make a profiled library (takes a while!!!) # # This will build the library with profile generation