Below is my current makefile but it gives me the error
'ake: Fatal error : Don't know how to make target 'MST.h
Can anyone help me with this, all of the spaces are tabs I know.
Each .cpp file includes each of the header files.
Any help would be greatly appreciated.
mst: Heap.o DisjointSet.o MST.o main.o
g++ -o mst heap.o DisjointSet.o MST.o main.o
Heap.o: Heap.cpp Heap.h DisjointSet.h MST.h
g++ -c Heap.cpp
DisjointSet.o: DisjointSet.cpp DisjointSet.h Heap.h MST.h
g++ -c DisjointSet.cpp
MST.o: MST.cpp MST.h DisjointSet.h Heap.h
g++ -c MST.cpp
main.cpp: MST.h Heap.h DisjointSet.h
g++ -c main.cpp