1 2 3 4 5 6 7
#!/bin/sh set -e cd "$(dirname "$0")" # pthread may need -lpthread on DragonFly cc -O2 -o df0513 df0513.c -lpthread 2>&1 echo "BUILD_EXIT=$?" ls -l df0513