FLAGS=-m32 -Os -ffast-math -fPIC -shared -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -flto
LIBS=-lm

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