Hi,
Let's see if anyone can help me w/ this one.
The environment: SCO Unix OpenSever 5
4GL RDS 4.11.xx
SE 5.03.xx
The Data:
In my company we've got the following directory tree on our production
box:
.../sources/4gl (Where all the 4GL source code is)
.../sources/forms (Where all per goes)
.../sources/c (The C code is here)
Our programs (.4gi) are composed of several 4GL modules. For the sake
of understanding let me give you an example:
p.4gi depends on: m1.4gl and m2.4gl
When we need to modify a program we copy the module in question, let's
say, m1.4gl, to our home directory do what ever we need to do and
then recompile the program, in our example: p.4gi.
In order to do this (we can't, don't and never will do the
modifications directly on .../sources/4gl/m1.4gl) we have a shell
script that reads a makefile located in .../sources/4gl, copies the
modules nedeed to regenerate p.4gi (except m1.4gl) and do it.
The Problem:
What we really want is to discard the shell script we're using and
pass on this work to "make". The main reason is that the script isn't
aware of the "make" rules, nor it sees if the target is updated,
causing among other things, to all modules being recompiled.
The conclusion;
I've been hacking with "make" for quite a while and don't seem to get
anywhere. So if any of you kind souls, know of a way to get arround,
have any ideas, opinions, whatever, pelase let me know.
TIA
JN