summaryrefslogtreecommitdiff
path: root/regress/usr.bin/make/mk26
blob: 306582f1b106a57bba8db76b4dcaa3aacac5a45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $OpenBSD: mk26,v 1.1 2007/08/06 06:52:30 espie Exp $

# Very bizarre make rule: names like -llib are expected to not correspond
# to normal files.

all: t29.targ t29.targ2

# if there is no rules, we just silently accept the dependency
t29.targ: -lm
	touch $@

# if there is a set of rules, we transparently go through the dependencies
t29.targ2: -lt29
	touch $@

-lt29: t29dep
	touch libt29.a

t29dep:
	touch $@


.PHONY: all