dev/c/undef_ref/win/test.sh

7 lines
158 B
Bash
Raw Normal View History

2013-02-07 17:55:19 +04:00
#!/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