#
# MINGW32 MAKEFILE 
#
# Allegro - statically linked
#

ballsw32.exe: balls.o
	gcc.exe ballsw32.o -oballsw32.exe -lalleg_s -s -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound -mwindows


balls.o: 
	gcc.exe balls.c -oballsw32.o -c -DALLEGRO_STATICLINK

clean:
	rm -f *.o *.exe

compress:
	upx *.exe --best