Scripsit Sam Clanton <[EMAIL PROTECTED]>

> driver:
>       cd driver && $(MAKE)

> make, or 'make driver' completely fail to activate the rules for
> 'driver', it ALWAYS responds with " 'driver' is up to date "

Since there are no dependencies, the command only gets run
if there is no file named driver. And remember that in un*x, a
directory is a file! Hence no reason to run the rule.

Solution: Read the node "Phony Targets" in the GNU make manual,
and add

.PHONY: driver

to your Makefile. Then make will always pretend that no file named
driver exists.

-- 
Henning Makholm                                             "# good fish ...
                                                    # goodfish, goodfish ...
                                                        # good-good FISH! #"

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

Reply via email to