In article <1992May13.141351.26362@mixcom.com> ttvvtt@mixcom.com (Donald Amby) writes:
>
> In our C modules, if we have an #include "xxx.h" and the file xxx.h is
> not in the current directory, the directories given by the -I switch
> to cc can find them. We thought that was also true when using an -I
> switch on a c4gl line in our makefiles, when there is a:
>
> GLOBALS
> "xxx.4gl"
>
> type of statement. Unfortunately, this does not seem to work. We get
> an error message (4306) that it cannot find the file xxx.4gl.
This doesn't work with 4gl.
Instead, you could preprocess your 4gl source with cpp. This gives you
a #include which honours -I, as well as #define macro definitions, etc.
It also lets you mix global declarations with #include's in the same
source file.
Hope this helps.
Hugh.
--
-Hugh Grierson--hugh@fivegl.co.nz----------Go fast or go home----------------
-Task Management Ltd-Auckland-New Zealand-Ph:+64.9.5206109-Fax:+64.9.5206101-
<I'm a .sig virus. Copy me to your .sig then set fire to your computer.>