makefile - Counterpart of gcc's -save-temps option in make -


i'm studying compiling , linking processes.

running gcc -save-temps option, can temporary files generated during building process.

i think there must counterpart of in make also.

anybody know way?

adding below set cmakelist.txt job ,

set (cmake_cxx_flags "${cmake_cxx_flags} --save-temps") 

Comments