You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
863B

  1. outfile=paulstretch.exe
  2. rm -f $outfile
  3. mingw_dir="/usr/i586-mingw32msvc"
  4. wine "$mingw_dir/bin/fluid.exe" -c GUI.fl
  5. wine "$mingw_dir/bin/fluid.exe" -c FreeEditUI.fl
  6. clear
  7. i586-mingw32msvc-g++ -O3 -DWINDOWS -DKISSFFT -I./contrib GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp contrib/*.c \
  8. `"$mingw_dir/bin/fltk-config" --cflags` \
  9. `"$mingw_dir/bin/fltk-config" --ldflags` \
  10. "$mingw_dir/lib/libvorbisenc.a" \
  11. "$mingw_dir/lib/libvorbisfile.a" \
  12. "$mingw_dir/lib/libvorbis.a" \
  13. "$mingw_dir/lib/libogg.a" \
  14. "$mingw_dir/lib/libportaudio.a" \
  15. "$mingw_dir/lib/libaudiofile.a" \
  16. "$mingw_dir/lib/libmad.a" \
  17. "$mingw_dir/lib/libmxml.a" \
  18. "$mingw_dir/lib/libz.a" \
  19. -lm -lwinmm -o $outfile
  20. rm -f GUI.h GUI.cxx FreeEditUI.h FreeEditUI.cxx
  21. strip $outfile
  22. cat version.h | grep -v "#"
  23. #compress the outfile (not necessary, but useful)
  24. #upx $outfile