FLAGS=-m32 -O2 -ffast-math -fPIC -shared -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--no-undefined -lm -ldl

gamei386.so: *.c *.h acesrc/* navlib/*.o makefile
	$(CC) $(FLAGS) *.c acesrc/*.c navlib/*.o -o $@
	
clean:
	rm -f gamei386.so
