So I have run into an odd issue with makefiles using mingw's mingw32-make. I've scoured about and I'm clueless. It looks like this is a path issue where make is not looking into the correct folder, but I could be wrong..
I have configured it to run via nppexec so I am using this macro
mingw32-make.exe -f "$(CURRENT_DIRECTORY)\$(NAME_PART)$(EXT_PART)"
Which gives..
mingw32-make.exe: *** No rule to make target 'main.cpp', needed by 'main.o'. Stop.
makefile.mak (I know it dosen't need an extension)
CPP = g++.exe
CFLAGS = -g -Wall
all: sortA4
sortA4: main.o Sortings.o
$(CPP) $(CFLAGS) -o sortA4 main.o Sortings.o
main.o: main.cpp Sortings.h
$(CPP) $(CFLAGS) -c main.cpp
Sortings.o: Sortings.cpp Sortings.h
$(CPP) $(CFLAGS) -c Sortings.cpp
#clean: >>>temp removed for debugging
# $(RM) count *.o *~