diff --git a/README b/README index 5123c17c408..a2d92c59516 100644 --- a/README +++ b/README @@ -60,6 +60,12 @@ Then edit source/nan_definitions.mk to fit you're environment. (You'll want to change things like NAN_OPENSSL,NAN_JPEG, NAN_PNG etc.. to point to where you have it installed) +If you want to integrate the game-engine in Blender, you might want +to uncomment the following line in nan_compile.mk: +#CFLAGS += -DGAMEBLENDER=1 +The define is disabled by default because there still are still some +problems with this at the moment. + If you tried to just have a go at making stuff you might wind up with an empty file /tmp/.nanguess You need to remove the empty file and it will get created automatically diff --git a/source/nan_compile.mk b/source/nan_compile.mk index b9bb9d5c0c9..df0fa368446 100644 --- a/source/nan_compile.mk +++ b/source/nan_compile.mk @@ -37,6 +37,9 @@ CPPFLAGS ?= $(NAN_CPPFLAGS) # common parts --------------------------------------------------- +# Uncomment next line to enable integrated game engine +#CFLAGS += -DGAMEBLENDER=1 + ifdef NAN_DEBUG CFLAGS += $(NAN_DEBUG) CCFLAGS += $(NAN_DEBUG)