summaryrefslogtreecommitdiff
path: root/biblio/tib/src/Makefile
blob: a2156810420567707d82521228a69919a942d665 (plain)
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
CC = cc
CFLAGS = -O

.c.o:
	$(CC) -c $(CFLAGS) $*.c

DEXo        = tibdex.o streams.o  makekey.o
DEXc        = tibdex.c streams.c  makekey.c
LOOKo       = tiblook.o locate.o seek.o streams.o makekey.o
LOOKc       = tiblook.c locate.c seek.c streams.c makekey.c
TIBo        = tib.o tibargs.o locate.o seek.o streams.o makekey.o 
TIBc        = tib.c tibargs.c locate.c seek.c streams.c makekey.c 
LISTo       = tiblist.o tibargs.o streams.o makekey.o
LISTc       = tiblist.c tibargs.c streams.c makekey.c

SRCS = \
	tib.c \
	tibargs.c \
	seek.c \
	tib.h \
	tibdex.c \
	tiblist.c \
	locate.c \
	tiblook.c \
	makekey.c \
	streams.c

all:	tibdex tiblook tiblist tib

tibdex:  $(DEXo)
	$(CC) $(CFLAGS)  $(DEXo)   -o tibdex

tiblook: $(LOOKo)
	$(CC) $(CFLAGS)  $(LOOKo)  -o tiblook

tib: $(TIBo)
	$(CC) $(CFLAGS)  $(TIBo)  -o tib

tiblist: $(LISTo)
	$(CC) $(CFLAGS)  $(LISTo)  -o tiblist

tib.o:		tib.h
tibargs.o:	tib.h
tiblist.o:	tib.h
tibdex.o:       tib.h
locate.o:       tib.h
makekey.o:	tib.h

clean: 
	rm -f tib.o tibargs.o tiblist.o tibdex.o tiblook.o
	rm -f locate.o makekey.o streams.o seek.o 
	rm -f tib.h

veryclean: clean
	rm -f tib tibdex tiblist tiblook