On Mon Aug 28 09:16:25 2000, ben@xxxxxxxxxxxxx wrote:
>
> [stuff deleted]
>
> Shouldn't it be something like this instead?
> #include "../types.h"
>
> The reason that this is possible is because of the following line in the
> makefile:
> LCXXFLAGS
> = -I$(DEPTH)/include -I../head -DLIBRARYBUILD -DNDEBUG -DDEBUG
>
> I have to add all these "../" references to my ported version within _WIN32
> define blocks. I feel that the original should probably be changed to
> include correct header referencing in the nurbs library code rather than a
> fix in the makefile.
The include directory specification in the makefile is the way to go. As long
as -I../head is specified before any other directory that may have a different
types.h, the preprocessor should pick up the right file.
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems CA, USA
|