~foura/biobuf.link

ref: 67a04d8e8b44c0fe56e9a5ef376b5f55672fc341 biobuf.link/mkfile -rw-r--r-- 333 bytes
67a04d8ejames palmer make mkfile print clearer a month 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
</$objtype/mkfile

TARG=sitemk
HFILES=\
	src/text.h\
	src/list.h
OFILES=\
	src/main.$O\
	src/text.$O\
	src/list.$O

all:V: $TARG
	./$TARG

src/%.$0: $HFILES

src/%.$O: src/%.c
	$CC $CFLAGS -o $target $prereq

$TARG: $OFILES
	$LD $LDFLAGS -o $target $prereq

clean:V:
	rm -rf src/*.[$OS] $TARG

nuke:V:
	rm -rf src/*.[$OS] out/*.html