Question: I was trying to create a makefile that target multiple main.o but I don't know what I did wrong. (ignore the c file)(calculator.cpp, useFraction.cpp are
I was trying to create a makefile that target multiple main.o but I don't know what I did wrong.
(ignore the c file)(calculator.cpp, useFraction.cpp are the two main 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
