lucmans / fraccert

Fractal library and viewer
GNU General Public License v3.0
2 stars 0 forks source link

build on macOS requries brew to install some libs and some Makefile changes #1

Open jambosas opened 3 years ago

jambosas commented 3 years ago

build using clang from Xcode-11.7: brew install gmp brew install sdl2 brew install libomp

in makefiles: remove -s Option, change: -fopenmp t -Xpreprocessor -fopenmp LIBS = -lSDL2 -lgmp -openmp -lomp and %.o: %.cpp %.h $(CXX) $(CXXFLAGS) $(SHAREDCOMP) $(WARNINGS) $(OPTIMIZATION) -c $< -o $@

lucmans commented 3 years ago

Thank you for trying to build the project on Mac. I will make a separate make target for building on Mac using the proposed flags.

Is there a specific reason to remove the -s flag? Or would a separate debug build option (which would include -g) suffice?