mike@ubuntu:~/NetBeansProjects/CppApplication_1$ make -f mk.mk
mk.mk:25: src/DownloadBuffer.d: No such file or directory
mk.mk:25: src/Downloader.d: No such file or directory
mk.mk:25: src/main.d: No such file or directory
g++ -std=c++11 -c -o src/DownloadBuffer.o src/DownloadBuffer.cpp
src/DownloadBuffer.cpp:3:30: fatal error: DownloadBuffer.hpp: No such file or directory
#include "DownloadBuffer.hpp"
^
compilation terminated.
make: *** [src/DownloadBuffer.o] Error 1
so make is trying to execute my include before it actually builds those dependency makefiles. Would somebody please tell me how to have make build those dependency files before it tries to include them?
What's funny is that it does eventually build the .d files, but it's after it failed building other things. However, I opened up one of them: