~/cddir>lshw1            machine.cpp  main.o      makefile~     report2.txt   user.cpphw11submit.sh  machine.h    makefile    report1.txt   report2.txt~  user.hhw12submit.sh  main.cpp     #makefile#  report1.txt~  soda.x~/cddir>makemake: * No rule to make target g++47', needed bymachine.o'.  Stop.All of my files are there and they ran perfectly before. Now I re-log in and get this error. A day yesterday on Google didn't help, but maybe I am looking in the wrong place.Makefile:soda.x: main.o machine.o user.o                                                         g++47 -osoda.x main.o machine.o user.o                                  user.o: user.h user.cpp                                                        \        g++47 -c -Wall -Wextra -I. user.cpp                                     machine.o: machine.h machine.cpp                                               \        g++47 -c -Wall -Wextra -I. machine.cpp                                 \main.o: main.cpp                                                                        g++47 -c -Wall -Wextra -I. main.cppE-macs env.                                     
Error with g++47 make compilation?
g++
You have trailing \ in your Makefile. They shouldn't be there, that makes make think g++47 is one of the pre-reqs.Just remove the backslashes. (And make sure the compile lines start with a tab.)