Michael Sterrett -Mr. Bones.- writes:
 > make -n diff looks like this:
 > 
 > diff /auto/include/foo.h foo.h; diff /auto/include/bar.h bar.h; diff 
 >/auto/include/baz.h baz.h;

I suggest using this :

################
HFILES = \
        foo.h \
        bar.h \
        baz.h

PRODUCTION_LOCATION=/auto/include

diff: $(HFILES:%=%.diff)

%.diff: $(PRODUCTION_LOCATION)/%
        -diff $< $(patsubst %.diff,%, $@)

################

Like this, make will run one target foreach diff, you'll see them one
by one.

I hope it helps.

PS: a .PHONY target may be used if needed.
-- 
Cyril Bouthors  phone:+33 1 41 66 47 06
                  fax:+33 1 41 66 47 10

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

Reply via email to