~amavect/makeu

makeu/mkfile -rw-r--r-- 611 bytes
8a2a5c28amavect revise error exiting, allocation errors 1 year, 3 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
33
34
35
36
37
38
39
40
41
</$objtype/mkfile

MAN=/sys/man
BIN=/$objtype/bin
HFILES=fns.h components.h elementile.h
OFILES=color.$O guipart.$O makeu.$O hsvmap.$O screenpick.$O slider.$O util.$O
TARG=$BIN/makeu
MANFILES=$MAN/1/makeu

default:V: all

all:V: $O.out

install:V: $TARG man

allall:V:
	for(objtype in $CPUS)
		mk all

installall:V:
	for(objtype in $CPUS)
		mk install

clean:V:
	rm -f *.[$OS] [$OS].out $CLEANFILES

man:V: $MANFILES

$TARG: $O.out
	cp $prereq $target

$O.out: $OFILES
	$LD $LDFLAGS -o $target $prereq

%.$O: $HFILES

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

$MAN/([0-9])/([0-9A-Za-z]+):R: \2.\1.man
	cp $prereq $target