Well I tring to compile glest using mingw compiler.
I began a simple makefile but still not working fine.
If anyone could help me I thank so much.
Makefie --------------------------------------------------------
SOURCE=/c/mystuff/glest/source
XERCES=/c/msys/1.0/xerces-c
LIB_VORBIS_INC=/c/msys/1.0/local/include
INCLUDES=-I $(SOURCE)/shared_lib/include/xml \
-I $(SOURCE)/shared_lib/include/util \
-I $(SOURCE)/shared_lib/include/platform/win32 \
-I $(SOURCE)/shared_lib/include/sound \
-I $(SOURCE)/shared_lib/include/graphics \
-I $(SOURCE)/shared_lib/include \
-I $(SOURCE)/glest_game/world \
-I $(SOURCE)/glest_game/graphics \
-I $(SOURCE)/glest_game/type_instances \
-I $(SOURCE)/glest_game/game \
-I $(LIB_VORBIS_INC) \
-I $(XERCES)/include
# Build shared libs
all:
c++ -c $(SOURCE)/shared_lib/sources/xml/* $(INCLUDES)
c++ -c $(SOURCE)/shared_lib/sources/util/* $(INCLUDES)
c++ -c $(SOURCE)/shared_lib/sources/platform/* $(INCLUDES)
c++ -c $(SOURCE)/shared_lib/sources/sound/* $(INCLUDES)
c++ -c $(SOURCE)/shared_lib/sources/graphics/* $(INCLUDES)
# Build game
c++ -c $(SOURCE)/glest_game/ai/* $(INCLUDES)
c++ -c $(SOURCE)/glest_game/game/*
c++ -c $(SOURCE)/glest_game/graphics/*
c++ -c $(SOURCE)/glest_game/main/*
c++ -c $(SOURCE)/glest_game/sound/*
c++ -c $(SOURCE)/glest_game/types/*
c++ -c $(SOURCE)/glest_game/facilities/*
c++ -c $(SOURCE)/glest_game/global/*
c++ -c $(SOURCE)/glest_game/gui/*
c++ -c $(SOURCE)/glest_game/menu/*
c++ -c $(SOURCE)/glest_game/type_instances/*
c++ -c $(SOURCE)/glest_game/world/*
clean:
rm -f *.o