This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
|
d)
|
|
g++ -c max.cc;
|
|
g++ -c min.cc;
|
|
|
|
// compile directly
|
|
g++ max.cc min.cc test.cpp
|
|
|
|
// make archive
|
|
ar q libMinMax.a max.o min.o
|
|
|
|
g++ test.cpp -L. -lMinMax
|
|
|