AK-lab2 Лістинг: 生成文件 AK-lab2 : main.o calculator.o g++ -o AK-lab2 main.o calculator.o main.o : main.cpp g++ -c main.cpp calculator.o : calculator.cpp g++ -c calculator.cpp clean : rm AK-lab2 rm main.o rm calculator.o CMakeLists.txt cmake_minimum_required ( VERSION 3.10.2) project ( "AK-lab2" VERSION 0.1.0) add_library (calculator STATIC calculator.cpp) add_executable ( " ${PROJECT_NAME}