# All object files
#OBJECTS = doko_test.$(OBJ_SUFFIX) 
OBJECTS = \
	freedoko.$(OBJ_SUFFIX) \
	constants.$(OBJ_SUFFIX) \
	debug.$(OBJ_SUFFIX) \
	info.$(OBJ_SUFFIX) \
	utils.$(OBJ_SUFFIX) \
	basistypes.$(OBJ_SUFFIX)

OBJECTS_PARTY = party/*.$(OBJ_SUFFIX)

OBJECTS_GAME = game/*.$(OBJ_SUFFIX)

OBJECTS_PLAYER = player/*.$(OBJ_SUFFIX) \
		 player/human/*.$(OBJ_SUFFIX) \
		 player/ai/*.$(OBJ_SUFFIX) \
		 player/ai.dummy/*.$(OBJ_SUFFIX) \
		 player/ai.random/*.$(OBJ_SUFFIX) \

OBJECTS_CARDS = card/*.$(OBJ_SUFFIX)

OBJECTS_MISC = misc/*.$(OBJ_SUFFIX)

OBJECTS_UI = ui/*.$(OBJ_SUFFIX)

OBJECTS_OS = os/*.$(OBJ_SUFFIX)

# the classes
OBJECTS_CLASS = \
	class/getopt/getopt.$(OBJ_SUFFIX) \
	class/getopt/option.$(OBJ_SUFFIX) \
	class/readconfig/readconfig.$(OBJ_SUFFIX)

OBJECTS_UTILS = \
	utils/date.$(OBJ_SUFFIX) \
	utils/version.$(OBJ_SUFFIX) \
	utils/file.$(OBJ_SUFFIX) \
	utils/string.$(OBJ_SUFFIX) \
	utils/windows.$(OBJ_SUFFIX)

ifeq ($(USE_UI_TEXT), true)
	OBJECTS_UI += \
		ui/text/*.$(OBJ_SUFFIX)
endif
ifeq ($(USE_UI_GTKMM), true)
	OBJECTS_GTKMM = \
		ui/gtkmm/*.$(OBJ_SUFFIX) \
		ui/gtkmm/widgets/*.$(OBJ_SUFFIX)
endif

ifeq ($(USE_NETWORK), true)
	OBJECTS_NETWORK = \
		network/*.$(OBJ_SUFFIX)
endif

#include ai/Makefile.objects
#include os/Makefile.objects
#ifdef GTK
#	include ui.gtk/Makefile.objects
#endif
