~aleteoryx/9c

ref: b495bccc2c8a006759078b3554800f52fec07429 9c/mkfile -rw-r--r-- 397 bytes
b495bccc — glenda better regex 11 days 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
27
28
29
30
</$objtype/mkfile

bins=\
	pong\
	maze\
	spiral\
	queuesrv\
	pres\
	ufx2font

all:VQ: $bins

install:V: all
	cp $bins $home/bin/$objtype/

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

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

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