rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / build_files / make / nan_compile.mk
index 4107bb1820ddd10c0f80c2e8351d0844e29b9df3..2931adb444c21297ac6ddfdab1d87bcbfa790bbd 100644 (file)
@@ -35,10 +35,12 @@ include nan_definitions.mk
 CPPFLAGS ?= $(NAN_CPPFLAGS)
 
 # common parts ---------------------------------------------------
+CFLAGS += -DWITH_PYTHON
+CCFLAGS += -DWITH_PYTHON
 
 # Uncomment next lines to enable integrated game engine
 ifneq ($(NAN_NO_KETSJI), true)
-    CFLAGS  += -DGAMEBLENDER=1
+    CFLAGS  += -DWITH_GAMEENGINE
     ifeq ($(NAN_USE_BULLET), true)
       CFLAGS  += -DUSE_BULLET
       CCFLAGS += -DUSE_BULLET