Per Jessen wrote: > I've got numerous makefiles that are all run with -jX depending on the > available hardware etc. Occasionally I have the need to single-thread > the making of one type of target - I know I can achieve this > with .NOTPARALLEL, but because that applies to an entire Makefile, I > was wondering if there was a simpler way? Maybe a flag for a rule > that indicates "only one at a time" or some such?
Okay, let me rephrase that - when you're otherwise running everything in parallel, how do you force some targets to be single-threaded, i.e. never run concurrently? I tend to use a lock-construct, but it's not exactly optimal. /Per Jessen, Zürich _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
