Yes I understand this, but how do I do it using automake or how do I imbed this within my Makefile.am
-----Original Message----- From: Pat Suwalski [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 10:13 AM To: Jeff Safier Cc: automake@gnu.org Subject: Re: How do you add an executable command into automake Jeff Safier wrote: > My question was not in terms of building and executable, but how to > imbed an executable command into the make, that will run when > executing the make. We have a message parser that generates a header > file which is included in the actual source file. I need to make sure > our message compiler runs prior to the aplication building. You can just make another Makefile target that your C compilation target depends on, like this: generatedheader.h: somecommandtomaketheheaderforme main.c: generatedheader.h Simple as that. --Pat