Separate compilation and linking with g++

g++ -c graphics.c pp compiles module graphics.cpp, producing object file graphics.o

g++ -c client.cpp compiles client.cpp, producing object file client.o

g++ client.o graphics.o -o cmd links object files, producing executable cmd


CONTENTS    PREVIOUS    NEXT