Small. Fast. Reliable.
Choose any three.
*** 10,14 ****
  gcc -O2 -DNDEBUG=1 -DTHREADSAFE=1 -c *.c
  gcc -s -o sqlite3 *.o
  rm shell.o
! gcc -shared -s -o sqlite3.dll *.o *.def
  </pre></html>
--- 10,17 ----
  gcc -O2 -DNDEBUG=1 -DTHREADSAFE=1 -c *.c
  gcc -s -o sqlite3 *.o
  rm shell.o
! gcc -shared -s -o sqlite3.dll *.o *.def -Wl,--out-implib,libsqlite.dll.a
! mkdir ../release
! cp sqlite3.dll sqlite3.exe libsqlite.dll.a sqlite3.h ../release
! cd ../release
  </pre></html>