Hi,
We would not recommend just including a 3rd-party Makefile directly into your main VisualGDB project, as it may cause some variable conflicts and other strange bugs.
We would instead recommend creating a new static library project for the GFX library, adding its sources to the project, specifying the include directories via the VisualGDB Project Properties, ensuring it builds and referencing it from the main project. If this does not work, please share the error messages you are getting and we will help you resolve them.
If you want to try including the Makefile nonetheless, you can edit the project’s Makefile as follows (after the normal SOURCEFILES := … line):
GFXLIB := <path to uGFX>
include <uGFX makefile>
SOURCEFILES += $(GFXSRC)
INCLUDE_DIRS += $(GFXINC)