Hello, On Wed, Dec 08, 2004 at 03:15:55AM -0600, Bruce Allen wrote: > There is a single routine (that lives by itself in dhrystone.C) > which must ALWAYS be compiled to an object with -O3, regardless of the > user specified compilation options, CFLAGS, CPPFLAGS, etc.
I think that the easiest way is to redefine the rule to compile that file. To find the command to execute for compiling, inspect the Makefile.in that automake has created for you. I guess the following should work: re.$(OBJEXT): this.h that.h re.o: re.C $(CXXCOMPILE) -O3 -c -o $@ $< re.obj: re.C $(CXXCOMPILE) -O3 -c -o $@ `$(CYGPATH_W) '$<'` HTH, Stepan Kasal