/[CvsGraph]/cvsgraph/Makefile.in
ViewVC logotype

Annotate of /cvsgraph/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (hide annotations)
Tue Jan 1 21:03:23 2002 UTC (15 years, 9 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_2_0
Changes since 1.5: +6 -13 lines
Major code update to enable some more features. The new formatting scheme is
not yet 100%. This should be close to version 1.2.0.
1 bertho 1.1 # Directories
2     prefix = @prefix@
3 bertho 1.4 ETCDIR = @sysconfdir@
4 bertho 1.1
5     # Set to your utilities
6     CC = @CC@
7     LEX = @LEX@
8     YACC = @YACC@
9     RM = rm -f
10    
11 bertho 1.4 LIBS = @LIBS@
12 bertho 1.1 CFLAGS = @CFLAGS@ -DETCDIR=\"$(ETCDIR)\"
13 bertho 1.3 YACCFLAGS= -t
14     LEXFLAGS= @LEXFLAGS@ -d #-b
15 bertho 1.1
16     # Everything below here should be alright
17     TARGET = cvsgraph
18    
19     CSRCS =\
20     cvsgraph.c\
21 bertho 1.6 utils.c\
22     readconf.c
23 bertho 1.1
24     GENSRCS =\
25 bertho 1.3 rcs.tab.c\
26     lex.rcs.c
27 bertho 1.1
28     COBJS = $(CSRCS:.c=.o)
29     GENOBJS = $(GENSRCS:.c=.o)
30    
31     .c.o:
32     $(CC) $(CFLAGS) -c -o $*.o $<
33    
34     $(TARGET): $(COBJS) $(GENOBJS)
35     $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
36    
37 bertho 1.3 cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
38 bertho 1.1 utils.o: utils.c utils.h readconf.h
39 bertho 1.6 readconf.o: readconf.c readconf.h utils.h cvsgraph.h
40 bertho 1.1
41 bertho 1.6 lex.rcs.o: lex.rcs.c rcs.tab.h readconf.h utils.h rcs.h
42     rcs.tab.o: rcs.tab.c utils.h rcs.h
43 bertho 1.3
44     rcs.tab.c rcs.tab.h: rcsy.y
45     $(YACC) $(YACCFLAGS) -d -brcs -prcs rcsy.y
46    
47     lex.rcs.c: rcsl.l
48     $(LEX) $(LEXFLAGS) -Prcs rcsl.l
49 bertho 1.1
50     clean::
51 bertho 1.6 $(RM) core *.o $(TARGET) $(GENSRCS) rcs.tab.h
52 bertho 1.2
53     distclean: clean
54     $(RM) config.cache config.status config.log Makefile config.h
55    

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0