@echo off
set PATH=c:\mingw32\bin;%PATH%
windres example.rc example_rc.o
gcc -Wall -O3 -o fixscript.o -c fixscript.c
gcc -Wall -O3 -msse2 -mstackrealign -o fiximage.o -c fiximage.c
gcc -Wall -O0 -o example.exe example.c fixgui.c fixgui_win32.c fiximage.o fixscript.o example_rc.o -lgdi32 -lcomdlg32 -lshlwapi -lcomctl32 -lwinmm -mconsole
gcc -Wall -O0 -o game.exe game.c fixgui.c fixgui_win32.c fiximage.o fixscript.o example_rc.o -lgdi32 -lcomdlg32 -lshlwapi -lcomctl32 -lwinmm -mconsole
strip example.exe
strip game.exe
