Fix for makefiles so it can find wintab headers in the libdir.
authorKent Mein <mein@cs.umn.edu>
Mon, 6 Nov 2006 16:58:28 +0000 (16:58 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 6 Nov 2006 16:58:28 +0000 (16:58 +0000)
Kent

intern/ghost/intern/Makefile
source/nan_definitions.mk

index 8107a73ce581f3815865ef73980a32a8727d88da..32498222ac616201f6a97ce38c7e7cf0e7560a32 100644 (file)
@@ -47,6 +47,7 @@ ifeq ($(OS),$(findstring $(OS), "darwin"))
 endif
 
 ifeq ($(OS),$(findstring $(OS), "windows"))
+    CPPFLAGS += -I$(NAN_WINTAB)/include
     CCSRCS += $(wildcard *Win32.cpp)
 endif
 
index b2dc37c156869958cb4901b78b2832acf0fb2560..4b8873f597268829ff27e9475ae232902599fccc 100644 (file)
@@ -104,6 +104,7 @@ endif
 
     export WITH_OPENEXR ?= true
     ifeq ($(OS),windows)
+       export NAN_WINTAB ?= $(LCGDIR)/wintab
       ifeq ($(FREE_WINDOWS), true)
         export NAN_PTHREADS ?= $(LCGDIR)/pthreads
         export NAN_OPENEXR ?= $(LCGDIR)/gcc/openexr