using a Makefile in Xcode - or alternative IDE
问题 I am new to Xcode, Makefiles, and to programming generally. I have been given an existing C++ code to work with that is built using a Makefile. Using the Makefile I can build and run the executable on my Mac (MacOS 10.14.6) with no problem. The start of the Makefile is CC = g++-mp-9 -Wall -O2 -std=c++14 -fopenmp DEBUG = CFLAGS = -c $(DEBUG) -I/opt/local/include LFLAGS = $(DEBUG) -L/opt/local/lib -framework Accelerate -march=native -lfftw3 -lfftw3_threads -lopenblas -lm -lpthread -larmadillo