![]() |
OpenMake Meister |
When defining Target Dependencies, make sure to use only the relative paths to the files since the build process concatenates these relative paths with the Project Dependency Directories in order to find the correct file.
For example, if the file name is:
com/acctpayable/acct1.c
and the Dependency Directory is:
.
$(REFDIR)/QA/architecture
$(REFDIR)/production/architecture
$(REFDIR)/development/metal works
$(REFDIR)/QA/metal works
$(REFDIR)/production/Metal Works
$(REFDIR)/production/compiler
$(REFDIR)/production/database
The full path and file name will resolve to the following (assuming the REFDIR environment variable is set to p:\ref):
./com/acctpayable/acct1.c
p:/ref/QA/architecture/com/acctpayable/acct1.c
p:/ref/production/architecture/com/acctpayable/acct1.c
p:/ref/development/metal works/com/acctpayable/acct1.c
p:/ref/QA/metal works/com/acctpayable/acct1.c
p:/ref/production/Metal Works/com/acctpayable/acct1.c
p:/ref/production/compiler/com/acctpayable/acct1.c
p:/ref/production/database/com/acctpayable/acct1.c
The build will search for "com/acctpayable/acct1.c" through the Dependency Directory until it finds the file.