I am trying to write a makefile, so I can avoid this directive with ellipses in my project files: #include "../h/BotTemplate.h"
(If you know of a simple solution, please by all means share.)
I've been referencing some makefile tutorials and using the makefile from ChessPlusPlus on github as an example for my own, but according to a Code::Block's manual, I have to build an empty project in order to use a custom makefile.
Now I have two obstacles:
1) I have no idea how to set up an empty project for C++ as I cannot find any tutorials for Code::Blocks with empty projects.
2) My compiler is unable to execute my makefile.
#include "..\h\BotTemplate.h" please use forward slashes
in order to change it to #include "BotTemplate.h" you can simply use the -I flag CPPFLAGS += -I../h
Edit: put the path relative to where `make' executes.