Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

parallel makes



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