else
ln -sf $path/source "$INCLUDEDIR/msp/$i"
fi
- sources="$sources `find $path/source -name '*.cpp'`"
+ sources="$sources `find $path/source \( -name windows -prune \) -o \( -name '*.cpp' -print \)`"
fi
done
exit 1
fi
+for i in "$INCLUDEDIR/msp/"*/unix; do
+ CFLAGS="$CFLAGS -iquote $i -iquote ${i%/unix}"
+done
+
echo "Compiling builder-stage1. This may take several minutes."
g++ $sources -o builder-stage1 $CFLAGS $LIBS
echo "Using builder-stage1 to compile builder."