Trying Create Makefile Target Multiple Maino Don T Know Wrong Ignore C File Calculatorcpp Q28732789

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

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

"We Offer Paper Writing Services on all Disciplines, Make an Order Now and we will be Glad to Help"
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.