Dear Arman,
Here is the procedure I use to compile libaed2 on Windows.
First, download sources of the latest stable version from here:
github.com/AquaticEcoDynamics/libaed2/releases/tag/v1.3.0
Extract them to the folder of your choice, e.g.
C:\telemac-deps\src\libaed2-1.3.0
Then edit the Makefile to comment-out line 71, as bellow:
#INCLUDES+=-I/usr/include
Finally, using Mingw-w64, build and install the library to the folder of your choice, using the following commands:
set install_dir=C:\telemac-deps\libaed2-1.3.0
pushd C:\telemac-deps\src\libaed2-1.3.0
mingw32-make
mkdir %install_dir%
xcopy /e/y include %install_dir%\include\
xcopy /e/y mod %install_dir%\include\
xcopy /e/y lib %install_dir%\lib\
popd
You will end with a directory containing all the necessary includes as well as the static version of libaed2.