In my extconf.rb, I have
$srcs = %w{foo.cpp bar.cpp}
$objs = %w{foo bar}
Each of these is dependent upon multiple header files. If I touch foo.cpp or touch bar.cpp, and then do rake compile, it recompiles the appropriate object file.
But touching a .h file doesn't have the same effect, obviously. I can't remember if this is a symptom of my use of extconf.rb or just a fact of coding in C/C++.
Is there some way I can direct extconf.rb to write a makefile that is aware of these header files?