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

Diff of /cvsgraph/Makefile.in

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

revision 1.2, Sat Feb 24 00:35:13 2001 UTC revision 1.3, Sun Mar 4 01:38:23 2001 UTC
# Line 10  Line 10 
10    
11  LIBS    = @LDFLAGS@  LIBS    = @LDFLAGS@
12  CFLAGS  = @CFLAGS@ -DETCDIR=\"$(ETCDIR)\"  CFLAGS  = @CFLAGS@ -DETCDIR=\"$(ETCDIR)\"
13    YACCFLAGS= -t
14    LEXFLAGS= @LEXFLAGS@ -d #-b
15    
16  # Everything below here should be alright  # Everything below here should be alright
17  TARGET  = cvsgraph  TARGET  = cvsgraph
# Line 20  Line 22 
22    
23  GENSRCS =\  GENSRCS =\
24          y.tab.c\          y.tab.c\
25          lex.yy.c          lex.yy.c\
26            rcs.tab.c\
27            lex.rcs.c
28    
29  COBJS   = $(CSRCS:.c=.o)  COBJS   = $(CSRCS:.c=.o)
30  GENOBJS = $(GENSRCS:.c=.o)  GENOBJS = $(GENSRCS:.c=.o)
# Line 31  Line 35 
35  $(TARGET): $(COBJS) $(GENOBJS)  $(TARGET): $(COBJS) $(GENOBJS)
36          $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)          $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
37    
38  cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h  cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
39  utils.o: utils.c utils.h readconf.h  utils.o: utils.c utils.h readconf.h
40    
41  y.tab.o: y.tab.c cvsgraph.h utils.h readconf.h  y.tab.o: y.tab.c cvsgraph.h utils.h readconf.h
42  lex.yy.o: lex.yy.c y.tab.h readconf.h utils.h  lex.yy.o: lex.yy.c y.tab.h readconf.h utils.h
43    rcsy.tab.o: rcsy.tab.c utils.h rcs.h
44    
45  y.tab.c y.tab.h: confy.y  y.tab.c y.tab.h: confy.y
46          $(YACC) -d confy.y          $(YACC) $(YACCFLAGS) -d confy.y
47    
48  lex.yy.c: confl.l  lex.yy.c: confl.l
49          $(LEX) -8 confl.l          $(LEX) $(LEXFLAGS) confl.l
50    
51    rcs.tab.c rcs.tab.h: rcsy.y
52            $(YACC) $(YACCFLAGS) -d -brcs -prcs rcsy.y
53    
54    lex.rcs.c: rcsl.l
55            $(LEX) $(LEXFLAGS) -Prcs rcsl.l
56    
57  clean::  clean::
58          $(RM) *.o $(TARGET) $(GENSRCS) y.tab.h          $(RM) *.o $(TARGET) $(GENSRCS) y.tab.h rcs.tab.h
59    
60  distclean: clean  distclean: clean
61          $(RM) config.cache config.status config.log Makefile config.h          $(RM) config.cache config.status config.log Makefile config.h

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0