I have a program using classes that I am trying to compile using a make file (required by professor). The program has a Main.cpp, Money.cpp(class), & Money.h. The error I get is this:
*** No rule to make target `Main.cpp', needed by `Main.o'. Stop.
This is the unix cmd I am using:
make -f Money.mak -l
My .mak looks like this:
#File: Money.mak
#Compiles Main.cpp, made up of Money.cpp, Money.h