%% John Skiff <[EMAIL PROTECTED]> writes:

  js> addPathData.cpp: ../include/evSysDep.h ../include/evutil.h [...]

  js> The above is modified and boiled down.  With the above changing an
  js> include file doesn't cause the source to recompile for some
  js> reason.

That's why I said:

  >> You need to declare that the .c files depend on the .h files (normally
  >> this isn't the right thing to do, but in this case you'll have to do it
  >> that way).  Use an empty rule.  Then make will imagine that the .c file
                 ^^^^^^^^^^^^^^^^^^
  >> was modified whenever one of the headers was modified, and it will get
  >> rebuilt.

Change your definitions to something like this:

 addPathData.cpp: ../include/evSysDep.h ../include/evutil.h [...] ;

(not trailing semicolon), or maybe this:

 addPathData.cpp: ../include/evSysDep.h ../include/evutil.h [...]
        @:

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to