# Standalong build for cmd test # Requires 'winetricks mingw' set -x ls test-*.cmd | sed 's/\(.*\)/\1 TESTDATA "\1"/' > tests.rc ls test-*.out.exp | sed 's/\(.*\)/\1 TESTDATA "\1"/' >> tests.rc wine windres -O coff tests.rc tests.res wine gcc -DSTANDALONE -I ../../include cmd.c tests.res -o cmd_test.exe