~amavect/makeu

ref: fb7a09cc2f89b8444350eec5dc190f09aab8a7b0 makeu/mkfile -rw-r--r-- 603 bytes
fb7a09ccamavect rename com.c to more descriptive color.c 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
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