I use wxWidgets-2.8.8, and WXWIN had the correct directory, but I see that not exists the directory wxWidgets-2.8.8\lib\gcc_lib\msw, instead exist wxWidgets-2.8.8\lib\gcc_dll\mswu
You have compiled wxWidgets using SHARED=1 in your call to make. This will produce dll's.
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=0 BUILD=debug UNICODE=1
Changing this to SHARED=0 will output static linked libs
mingw32-make -f makefile.gcc SHARED=0 MONOLITHIC=0 BUILD=debug UNICODE=1
Change MONOLITHIC=0 to produce divided multiple libs instead of a monolithic lib.
Change UNICODE=0 to produce ANSI libs.
If you are using the makefile to build Databaselayer then you need to either build wxWidgets to suit the configuration options or change the configuration options in the makefile.
These are some of the options you can change in the makefile.
# Use Unicode build of wxWidgets? [0,1]
WX_UNICODE := 0
# Use debug build of wxWidgets (define __WXDEBUG__)? [0,1]
WX_DEBUG := 1
# Version of the wx library to build against.
WX_VERSION := 28
# Use monolithic build of wxWidgets? [0,1]
WX_MONOLITHIC := 0
28 is the correct version for 2.8.8 so your other options are wrong.
You can also import the databaselayer vc++ project into codeblocks and build it that way. You will still need to set things up with build options and search dirs and linked libs etc.