I've been trying to generate Makefile rules that execute before the automake Makefile rules. I've seen I can define "all-local" and "hooks" rules, but these are executed after the "all" and other rules, for instance.
Is there any way that I could execute a code of mine before the automake added rules? I want to automatically generate files in a directory, but the compilation process through make always tries to compile programs following automake Makefile rules. If I could add a "pre-" rule, I could generate the needed files, then let the normal compilation process to run.
I know about BUILT_SOURCES, but I'm trying not to use it
Is that possible? Thanks!
BUILT_SOURCES
is for - why on earth are you trying not to use it? – ptomato