I was trying to create a makefile that target multiple main.obut I don’t know what I did wrong.
(ignore the c file)(calculator.cpp, useFraction.cpp are the twomain file I tried to target.)
2??? calculator.cpp c useFraction.cpp c reduce fraction.c C+4 Fraction.cpp h Fraction.h 2.png Q?? All: calculator useFraction Fraction.o: Fraction.cpp Fraction.h g+ std-c++14-Wall -c Fraction.cpp-o Fraction g++-std-c++14 -o calculator Fraction.o calculator.cpp g++ -std-c++14 o useFraction Fraction.o useFraction.cpp calculator: Fraction. o useFraction: Fraction. o clean: g++std-c++14-Wall -c Fraction.cpp-o Fraction g++ -std-c++14-o calculator Fraction.o calculator.cpp clang: error: no such file or directory: ‘Fraction.o’ make: ***[calculator] Error 1 Show transcribed image text