#!/bin/sh
gcc -o test_dll.dll test_dll.c -shared
gcc -o shared.dll shared.c -shared -L. -ltest_dll
gcc -o test.exe test.c -L. -ltest_dll -lshared
./test.exe