buildwin.sh 283 B

123456789
  1. #!/bin/bash
  2. i686-w64-mingw32-gcc -c MD_Init.c
  3. i686-w64-mingw32-gcc -c MD_Printf.c
  4. i686-w64-mingw32-gcc -c MD_Getc.c
  5. i686-w64-mingw32-gcc -c MD_Sendfile.c
  6. i686-w64-mingw32-gcc -c MD_AnsiCons.c
  7. i686-w64-mingw32-gcc -shared -o mdoor.dll *.o -lws2_32 -Wl,--out-implib,libmdoor.a
  8. rm *.o