Given the Makefile:



doit%: .foo .bar-%
        echo "all done"

.foo: iptables
        touch $@

.bar-%: sysconfig-%
        touch $@



When I run "make doittest" I get the following output:

$ make doittest
touch .bar-test
echo "all done"
all done
rm .bar-test

I am wondering why the "rm .bar-test"?  There is no "rm .foo" so it
must have something to do with the % macro.

If this is not the right way, how can I achieve exactly as above
(flexibility with %) without the "rm .bar-%"?

Thanx,
b.

-- 
Brian J. Murrell

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

Reply via email to