Clean up for Makefiles: some of the directories were being printed
[blender.git] / source / gameengine / GameLogic / Makefile
index 4649f120efd05f1dccd61228f3a91a94f7ae5e5d..eab4e7faa7eefb6af06197bba4953001cfe0014e 100644 (file)
 #
 
 LIBNAME = logic
+SOURCEDIR = source/gameengine/gameengine/GameLogic
 DIR = $(OCGDIR)/gameengine/$(LIBNAME)
+DIRS = Joystick
 
+include nan_subdirs.mk
 include nan_compile.mk
 
 CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
@@ -41,12 +44,7 @@ CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
 CPPFLAGS += -I../Expressions 
 CPPFLAGS += -I$(NAN_STRING)/include    
 CPPFLAGS += -I$(NAN_MOTO)/include
-ifeq ($(OS),$(findstring $(OS), "freebsd"))
-    CPPFLAGS += -I$(NAN_PYTHON)$(NAN_PYTHON_VERSION)
-else
-    CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
-endif
+CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION)
+CPPFLAGS += $(NAN_SDLCFLAGS)
 
 CPPFLAGS += -I../../kernel/gen_system
-
-