~amavect/whiteboardfs

whiteboardfs/mkfile -rw-r--r-- 518 bytes
2d38717aamavect dryerase: fix arg parsing (thanks umbraticus) 11 months 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
31
32
</$objtype/mkfile

TARG=whiteboardfs dryerase

EXE=${TARG:%=$O.%}
INST=${TARG:%=/$objtype/bin/%}

default:V: all

/$objtype/bin/%: $O.%
	cp $prereq $target

$O.%: %.$O
	$LD $LDFLAGS -o $target $prereq

$O.whiteboardfs: whiteboardfs.$O imageload.$O
	$LD $LDFLAGS -o $target $prereq

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

/sys/man/4/whiteboardfs: whiteboardfs.4.man
	cp whiteboardfs.4.man /sys/man/4/whiteboardfs

all:V: $EXE

install:V: $INST man

man:V: /sys/man/4/whiteboardfs

clean:V:
	rm -f $O.$TARG [$OS].$TARG *.[$OS]