cd ClientChannel
cl /nologo /c /O /DCLIENT_DLL ..\ClientChannel\channel.c
cl /nologo /c /O /DCLIENT_DLL ..\Utilities\Util.c
cl /nologo /c /O /DCLIENT_DLL ..\DynamicLink\utilities.c
link /nologo channel.obj Util.obj utilities.obj kernel32.lib user32.lib gdi32.lib advapi32.lib /dll /out:ClientChannel.dll
cd ..
cd StaticClientChannel
cl /nologo /c /O /DSTATIC_CLIENT_CHANNEL /DCLIENT_DLL ..\ClientChannel\channel.c
cl /nologo /c /O /DSTATIC_CLIENT_CHANNEL /DCLIENT_DLL ..\StaticClientChannel\select_dynamic_linker_folder.c
cl /nologo /c /O /DSTATIC_CLIENT_CHANNEL /DCLIENT_DLL ..\Utilities\Util.c
cl /nologo /c /O /DSTATIC_CLIENT_CHANNEL /DCLIENT_DLL ..\DynamicLink\utilities.c
link /nologo channel.obj select_dynamic_linker_folder.obj Util.obj utilities.obj kernel32.lib user32.lib gdi32.lib advapi32.lib shell32.lib ole32.lib /dll /out:StaticClientChannel.dll
cd ..
cd ServerChannel
cl /nologo /c /O ..\ClientChannel\channel.c
cl /nologo /c /O ..\Utilities\Util.c
cl /nologo /c /O ..\DynamicLink\utilities.c
link /nologo channel.obj Util.obj utilities.obj kernel32.lib user32.lib gdi32.lib advapi32.lib /dll /out:ServerChannel.dll
cd ..
cd DynamicLink
cl /nologo /c /O ..\DynamicLink\DynamicLink.c
cl /nologo /c /O ..\DynamicLink\global.c
cl /nologo /c /O ..\DynamicLink\interface.c
cl /nologo /c /O ..\DynamicLink\server.c
cl /nologo /c /O ..\DynamicLink\serverblock.c
cl /nologo /c /O ..\Utilities\Util.c
cl /nologo /c /O ..\DynamicLink\utilities.c
link /nologo DynamicLink.obj global.obj interface.obj server.obj serverblock.obj Util.obj utilities.obj kernel32.lib user32.lib gdi32.lib advapi32.lib ..\ServerChannel\ServerChannel.lib ..\ClientChannel\ClientChannel.lib /dll /out:DynamicLink.dll
cd ..
cd ConsoleClient
cl /nologo /c /O /DCLIENT_DLL ..\aclient\aclient.c
cl /nologo /c /O /DCLIENT_DLL ..\Utilities\Util.c
link /nologo aclient.obj Util.obj kernel32.lib user32.lib gdi32.lib advapi32.lib ..\ClientChannel\ClientChannel.lib /out:ConsoleClient.exe
cd ..
cd GuiClient
cl /nologo /c /O /DGUICLIENT /DCLIENT_DLL ..\aclient\aclient.c
cl /nologo /c /O /DGUICLIENT /DCLIENT_DLL ..\Utilities\Util.c
link /nologo aclient.obj Util.obj kernel32.lib user32.lib gdi32.lib advapi32.lib ..\ClientChannel\ClientChannel.lib /out:GuiClient.exe
cd ..
