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