Hi, I need to dynamically generate a .h file before compiling the source
code. I am using the QNX recursive make file.
In common.mk, I used PRE_BUILD = macro, it appears this macro executes
the instruction before the linking and after compiling the object. I am
getting “can not find .h file” error. Is there any way I can generate my
…h file before compiling inside common.mk file?
Hi, I need to dynamically generate a .h file before compiling the source
code. I am using the QNX recursive make file.
In common.mk, I used PRE_BUILD = macro, it appears this macro executes
the instruction before the linking and after compiling the object. I am
getting “can not find .h file” error. Is there any way I can generate my
.h file before compiling inside common.mk file?
Any help would appreciate.
Do you have some more context on what you are trying to do? How is this
header file being generated? You could put this header into EXTRA_CCDEPS,
and then have a rule specifying the generation of the header … I have
used the following to get dependancies on the YACC-generated header …
Hi, I need to dynamically generate a .h file before compiling the source
code. I am using the QNX recursive make file.
In common.mk, I used PRE_BUILD = macro, it appears this macro executes
the instruction before the linking and after compiling the object. I am
getting “can not find .h file” error. Is there any way I can generate my
.h file before compiling inside common.mk file?
Hi, I need to dynamically generate a .h file before compiling the source
code. I am using the QNX recursive make file.
In common.mk, I used PRE_BUILD = macro, it appears this macro executes
the instruction before the linking and after compiling the object. I am
getting “can not find .h file” error. Is there any way I can generate my
.h file before compiling inside common.mk file?
Define the PRE_TARGET macro to be your .h file before including qtargets.mk.
E.g.:
PRE_TARGET = $(PROJECT_ROOT)/my.h
After including qtargets.mk, define the rule for creating the .h file. E.g.:
Beth <> id@address.com> > wrote:
Hi, I need to dynamically generate a .h file before compiling the source
code. I am using the QNX recursive make file.
In common.mk, I used PRE_BUILD = macro, it appears this macro executes
the instruction before the linking and after compiling the object. I am
getting “can not find .h file” error. Is there any way I can generate my
.h file before compiling inside common.mk file?
Define the PRE_TARGET macro to be your .h file before including qtargets.mk.
E.g.:
PRE_TARGET = $(PROJECT_ROOT)/my.h
After including qtargets.mk, define the rule for creating the .h file. E.g.: