Add win32.chibios and win32.raw32 OPT_OS options to the make system.

This commit is contained in:
inmarket 2015-07-08 09:51:17 +10:00
parent 96bed0cd75
commit 2f6aaa9586
2 changed files with 21 additions and 0 deletions

6
gfx.mk
View File

@ -41,6 +41,12 @@ endif
ifeq ($(OPT_OS),win32)
GFXDEFS += GFX_USE_OS_WIN32=TRUE
endif
ifeq ($(OPT_OS),win32.chibios)
GFXDEFS += GFX_USE_OS_CHIBIOS=TRUE
endif
ifeq ($(OPT_OS),win32.raw32)
GFXDEFS += GFX_USE_OS_RAW32=TRUE
endif
ifeq ($(OPT_OS),linux)
GFXDEFS += GFX_USE_OS_LINUX=TRUE
endif

View File

@ -0,0 +1,15 @@
#
# This file is subject to the terms of the GFX License. If a copy of
# the license was not distributed with this file, you can obtain one at:
#
# http://ugfx.org/license.html
#
# See readme.txt for the make API
# Requirements:
#
# NONE
#
include $(GFXLIB)/tools/gmake_scripts/os_win32.mk