--- a/Makefile.in +++ b/Makefile.in @@ -296,7 +296,9 @@ LIB_OBJECT = @LIB_OBJECT@ all sources :: $(AUTO_SRC) -$(OBJECTS) : include/cdk_config.h +# make sure we generate all headers before trying +# to build first source file. +$(OBJECTS) : $(MY_HDR) # # Standard library directive.