~aleteoryx/9c

ref: b29685897785d078f084c76fbab841361b0166cd 9c/mkfile -rw-r--r-- 322 bytes
b2968589 — glenda queuesrv ctl file 37 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</$objtype/mkfile

bins=\
	pong\
	maze\
	spiral\
	queuesrv

all:VQ: $bins

%: %.$O
	$LD $LDFLAGS -o $stem $stem.$O

%.$O: %.c
	$CC $CFLAGS -o $stem.$O $stem.c

clean:V:
	for(bin in $bins) rm -f $bin $bin.$O

qclean:V:
	rm -f /srv/queue
	unmount /n || echo -n
qdev:V:
	mk queuesrv
	queuesrv || echo -n
	mount /srv/queue /n