Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
parallel makes
- X-seq: zsh-workers 2649
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- Subject: parallel makes
- Date: Fri, 27 Dec 1996 11:28:49 +0000 (GMT)
Zoltan, consider your patch for parallel makes (the one which caused
unnecessary rebuilds). The reason this caused extra rebuilds was that
dependencies went like
$(OBJS): proto
proto: FORCE
# make prototypes
which behaved as if $(OBJS) depended on FORCE. But we have other rules
like
init.o: zshpaths.h
zshpaths.h: FORCE
# update zshpaths.h
that do not force rebuilds. So I think you could get the effect you
wanted if you did something like
$(OBJS): .proto
.proto: FORCE
# make prototypes
and included a .proto file in the distribution. This system would have
the added benefit of totally confusing newcomers to the strange ways of
zsh Makefiles even more than they are already.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author