2014-02-18 14:36:52 +00:00
|
|
|
GFXINC += $(GFXLIB)
|
2013-05-24 15:26:52 +00:00
|
|
|
GFXSRC += $(GFXLIB)/src/gfx.c
|
2012-11-26 08:45:26 +00:00
|
|
|
|
2014-02-18 14:36:52 +00:00
|
|
|
include $(GFXLIB)/src/gos/sys_make.mk
|
2014-08-23 07:55:42 +00:00
|
|
|
include $(GFXLIB)/src/gdriver/sys_make.mk
|
2014-02-18 14:36:52 +00:00
|
|
|
include $(GFXLIB)/src/gqueue/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/gdisp/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/gevent/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/gtimer/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/gwin/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/ginput/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/gadc/sys_make.mk
|
2014-03-11 07:13:31 +00:00
|
|
|
include $(GFXLIB)/src/gaudio/sys_make.mk
|
2014-02-18 14:36:52 +00:00
|
|
|
include $(GFXLIB)/src/gmisc/sys_make.mk
|
|
|
|
include $(GFXLIB)/src/gfile/sys_make.mk
|
2014-09-27 15:42:30 +00:00
|
|
|
|
|
|
|
# Include the boards and drivers
|
|
|
|
ifneq ($(GFXBOARD),)
|
|
|
|
include $(GFXLIB)/boards/base/$(GFXBOARD)/board.mk
|
|
|
|
endif
|
|
|
|
ifneq ($(GFXDRIVERS),)
|
|
|
|
include $(patsubst %,$(GFXLIB)/drivers/%/driver.mk,$(GFXDRIVERS))
|
|
|
|
endif
|
|
|
|
ifneq ($(GFXDEMO),)
|
|
|
|
include $(GFXLIB)/demos/$(GFXDEMO)/demo.mk
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Include the operating system define
|
|
|
|
ifeq ($(OPT_OS),win32)
|
|
|
|
GFXDEFS += GFX_USE_OS_WIN32=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),linux)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_LINUX=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),osx)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_OSX=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),chibios)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_CHIBIOS=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),freertos)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_FREERTOS=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),ecos)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_ECOS=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),rawrtos)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_RAWRTOS=TRUE
|
2014-09-30 03:33:00 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(OPT_OS),raw32)
|
2014-09-27 15:42:30 +00:00
|
|
|
GFXDEFS += GFX_USE_OS_RAW32=TRUE
|
|
|
|
endif
|