From 320ac3f0e289b2c4d8add38926913eb2d4809f55 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 18 Jan 2008 21:39:47 +0000 Subject: Fixing makefiles for binreloc I made it use flags like other things default on for linux. ideasman helped me get scons working. Cmake still needs some love... Kent --- source/creator/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source/creator/Makefile') diff --git a/source/creator/Makefile b/source/creator/Makefile index 5fba2a1bb70..a7f2dfeecb6 100644 --- a/source/creator/Makefile +++ b/source/creator/Makefile @@ -42,9 +42,7 @@ CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I../blender/render/extern/include CPPFLAGS += -I../blender/radiosity/extern/include -ifeq ($(OS),linux) - CPPFLAGS += -I$(OCGDIR)/extern/binreloc/include -endif + # two needed for the kernel CPPFLAGS += -I../blender/imbuf CPPFLAGS += -I../blender/makesdna @@ -62,6 +60,10 @@ ifeq ($(WITH_QUICKTIME), true) CPPFLAGS += -I$(NAN_QUICKTIME)/include -DWITH_QUICKTIME endif +ifeq ($(WITH_BINRELOC), true) + CPPFLAGS += -I$(OCGDIR)/extern/binreloc/include -DWITH_BINRELOC +endif + ifeq ($(NAN_YESIAMSTUPID), true) CPPFLAGS += -DYESIAMSTUPID endif -- cgit v1.2.3