./0040755000175000017500000000000007300531424007713 5ustar holtholt./Makeppfile0100644000175000017500000000144507300531366011721 0ustar holtholt# # This makeppfile tests pattern rules. # .PHONY: all INFILES = abc def xyz all: $(INFILES).out2 # # A pattern rule that builds off another pattern rule, and also has # two pattern dependencies: # %.out2: %.out %.in echo $@ > $@ cat $^ >> $@ # # A pattern rule that overrides another pattern rule: # x%.out2: x%.out echo $@ > $@ echo "(File $@ is another exception.)" >> $@ cat $^ >> $@ # # GNU make style pattern rule. Note that this tests using an alternate name # for the directory. # %.out: ./%.in echo $@ > $@ cat $^ >> $@ # # Pattern rule overridden by a explicit rule: # xyz.out: xyz.in subdir/percent_subdirs_test echo $@ > $@ echo "(File $@ is an exception.)" >> $@ cat $^ >> $@ $(phony clean): rm -rf `find . '(' -name '*~' -o -name '.makepp' -o -name '*.out*' ')' -print` ./xyz.in0100644000175000017500000000000407143060320011061 0ustar holtholtxyz ./abc.in0100644000175000017500000000000407143060301010753 0ustar holtholtabc ./def.in0100644000175000017500000000000407143060304010767 0ustar holtholtdef ./answers/0040755000175000017500000000000007300531421011372 5ustar holtholt./answers/n_files0100644000175000017500000000000307300531201012716 0ustar holtholt10 ./subdir/0040755000175000017500000000000007300531421011200 5ustar holtholt./subdir/suba/0040755000175000017500000000000007300531421012132 5ustar holtholt./subdir/suba/a.in0100644000175000017500000000000207300527674012706 0ustar holtholta ./subdir/suba/subb/0040755000175000017500000000000007300531421013065 5ustar holtholt./subdir/suba/subb/b.in0100644000175000017500000000000207300527665013642 0ustar holtholtb ./subdir/subc/0040755000175000017500000000000007300531421012134 5ustar holtholt./subdir/subc/c.in0100644000175000017500000000000207300527733012706 0ustar holtholtc ./subdir/Makeppfile0100644000175000017500000000042607300531125013200 0ustar holtholt# # This file tests pattern rules with the percent_subdirs turned on, so # the same rule applies to several subdirectories. # percent_subdirs = 1 # Allow % to refer to subdirectories, too. %.out: %.in echo $@ > $@ cat $^ >> $@ percent_subdirs_test : **/*.out cat $^ >> $@ ./subdir/percent_subdirs_test0100644000175000017500000000026007300531377015362 0ustar holtholtsuba/a.out a suba/subb/b.out b subc/c.out c suba/a.out a suba/subb/b.out b subc/c.out c suba/a.out a suba/subb/b.out b subc/c.out c suba/a.out a suba/subb/b.out b subc/c.out c