-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkfile
More file actions
58 lines (50 loc) · 850 Bytes
/
mkfile
File metadata and controls
58 lines (50 loc) · 850 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<|rc ./opt.rc
TARG=rd
HFILES=fns.h dat.h
OFILES=\
alloc.$O\
audio.$O\
cap.$O\
draw.$O\
eclip.$O\
efs.$O\
egdi.$O\
ele.$O\
errs.$O\
kbd.$O\
rle.$O\
load.$O\
mcs.$O\
mouse.$O\
mpas.$O\
mppc.$O\
msg.$O\
rd.$O\
rpc.$O\
utf16.$O\
vchan.$O\
wsys.$O\
x224.$O\
$TLSFILE.$O\
THREADOFILES=${OFILES:rd.$O=rd-thread.$O}
CLEANFILES=$O.thread $O.test
TESTHFILES=audio.c mppc.c rle.c egdi.c
TESTOFILES=\
efs_test.$O errs.$O efs.$O utf16.$O \
aud_test.$O \
msg_test.$O x224.$O mcs.$O ele.$O mpas.$O alloc.$O cap.$O egdi_test.$O \
mppc_test.$O \
rle_test.$O \
utf16_test.$O \
<$MKONE
$TARG: mkfile
default:V: $O.thread
all:V: $O.thread
test:V: runtest
runtest:V: $O.test
./$O.test
$O.thread: $THREADOFILES $LIB
$LD $LDFLAGS -o $target $prereq
$TESTOFILES: $TESTHFILES
$O.test: $TESTOFILES $LIB
$LD $LDFLAGS -o $target $prereq