./0040755000076400001440000000000007672442133010267 5ustar gholtusers./Makeppfile0100644000076400001440000000151007170720126012253 0ustar gholtusers# # This is a test of parallel make. In order to test that make is actually # executing jobs in parallel, we rely on timing to synchronize jobs, which # isn't 100% reliable. # # This script is designed to be run with -j 2, so we know that at most 2 # jobs are running. .PHONY: all all: a a: b c cat $^ > $@ # # Commands to execute b and c should run in parallel, but commands to execute # a should wait for them. The final contents of b and c will differ depending # on whether the build commands were executed in parallel or in serial. # This is because we've lied to makepp about which files are modified. # b: @echo building b echo b >> b sleep 2 @echo b is modifying c echo b >> c sleep 2 c: @echo building c echo c >> c sleep 2 @echo c is modifying b echo c >> b sleep 2 $(phony clean): rm -rf a b c .makepp* *~ ./is_relevant0100755000076400001440000000014607672441460012530 0ustar gholtusers#!/bin/sh # # Parallel builds don't work under cygwin. # ${PERL-perl} -e '$^O eq "cygwin" && exit 1' ./makepp_test_script0100755000076400001440000000010307672441754014114 0ustar gholtusers#!/bin/sh # # Need to run this in parallel. # ${PERL-perl} $1 -j 2 ./answers/0040755000076400001440000000000007170716765011761 5ustar gholtusers./answers/a0100644000076400001440000000001007170716733012103 0ustar gholtusersb c c b ./answers/b0100644000076400001440000000000407170716731012105 0ustar gholtusersb c ./answers/c0100644000076400001440000000000407170716731012106 0ustar gholtusersc b ./answers/n_files0100644000076400001440000000000207170716765013310 0ustar gholtusers3