Home / Tag Archives: compiling

Tag Archives: compiling

Compile and link C++ source codes and headers from terminal in MacOS

Compiling C++ source codes and headers files from Terminal in macOS is a bit painful if you don’t have any experience with compiling. What I have learned below. Create a Makefile file all: foo.h foo.cpp main.cpp g++ -Wall -o main.out ...

Read More »