xref: /openbsd-src/regress/usr.bin/make/mk26 (revision 3cd197acc2b43cb45e8431611f1ff43111fa5db4)
1*3cd197acSespie# $OpenBSD: mk26,v 1.1 2007/08/06 06:52:30 espie Exp $
2*3cd197acSespie
3*3cd197acSespie# Very bizarre make rule: names like -llib are expected to not correspond
4*3cd197acSespie# to normal files.
5*3cd197acSespie
6*3cd197acSespieall: t29.targ t29.targ2
7*3cd197acSespie
8*3cd197acSespie# if there is no rules, we just silently accept the dependency
9*3cd197acSespiet29.targ: -lm
10*3cd197acSespie	touch $@
11*3cd197acSespie
12*3cd197acSespie# if there is a set of rules, we transparently go through the dependencies
13*3cd197acSespiet29.targ2: -lt29
14*3cd197acSespie	touch $@
15*3cd197acSespie
16*3cd197acSespie-lt29: t29dep
17*3cd197acSespie	touch libt29.a
18*3cd197acSespie
19*3cd197acSespiet29dep:
20*3cd197acSespie	touch $@
21*3cd197acSespie
22*3cd197acSespie
23*3cd197acSespie.PHONY: all
24