I did exactly that for win32. The old win32 build system recompiled buildmark.c as a build step (bleh.) The new win32 build system has the compilation of buildmark.c as a prelink step - if we aren't linking libhttpd, we don't recompile buildmark.
Seemed to be a trivial solution, and avoided many, many worthless relink's, since recompiling buildmark.c forces the linker. Bill At 02:11 PM 2/9/2005, Justin Erenkrantz wrote: >I'd like to see what we can do to minimize our need to always recompile >buildmark.c. Ideally, it should only need to be recompiled if httpd is being >relinked for some other reason - not every single time make is run. > >One possibility might be to do something via the $(PROGRAM_NAME) target in >build/program.mk - i.e. compile buildmark right before we do the httpd link. > >Thoughts? Any other brilliant strategies come to mind? -- justin >