/[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.7, Tue Apr 23 23:02:54 2002 UTC
# Line 1  Line 1 
1  # Directories  # Directories
2  prefix  = @prefix@  prefix  = @prefix@
3  ETCDIR  = $(prefix)/etc  ETCDIR  = @sysconfdir@
4    
5  # Set to your utilities  # Set to your utilities
6  CC      = @CC@  CC      = @CC@
# Line 8  Line 8 
8  YACC    = @YACC@  YACC    = @YACC@
9  RM      = rm -f  RM      = rm -f
10    
11  LIBS    = @LDFLAGS@  LIBS    = @LIBS@
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
18    
19  CSRCS   =\  CSRCS   =\
20          cvsgraph.c\          cvsgraph.c\
21          utils.c          utils.c\
22            readconf.c
23    
24  GENSRCS =\  GENSRCS =\
25          y.tab.c\          rcs.tab.c\
26          lex.yy.c          lex.rcs.c
27    
28  COBJS   = $(CSRCS:.c=.o)  COBJS   = $(CSRCS:.c=.o)
29  GENOBJS = $(GENSRCS:.c=.o)  GENOBJS = $(GENSRCS:.c=.o)
# Line 31  Line 34 
34  $(TARGET): $(COBJS) $(GENOBJS)  $(TARGET): $(COBJS) $(GENOBJS)
35          $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)          $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
36    
37  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
38  utils.o: utils.c utils.h readconf.h  utils.o: utils.c utils.h readconf.h
39    readconf.o: readconf.c readconf.h utils.h cvsgraph.h
40    
41  y.tab.o: y.tab.c cvsgraph.h utils.h readconf.h  lex.rcs.o: lex.rcs.c rcs.tab.h readconf.h utils.h rcs.h
42  lex.yy.o: lex.yy.c y.tab.h readconf.h utils.h  rcs.tab.o: rcs.tab.c utils.h rcs.h cvsgraph.h
43    
44  y.tab.c y.tab.h: confy.y  rcs.tab.c rcs.tab.h: rcsy.y
45          $(YACC) -d confy.y          $(YACC) $(YACCFLAGS) -d -brcs -prcs rcsy.y
46    
47  lex.yy.c: confl.l  lex.rcs.c: rcsl.l
48          $(LEX) -8 confl.l          $(LEX) $(LEXFLAGS) -Prcs rcsl.l
49    
50  clean::  clean::
51          $(RM) *.o $(TARGET) $(GENSRCS) y.tab.h          $(RM) core *.o $(TARGET) $(GENSRCS) rcs.tab.h
52    
53  distclean: clean  distclean: clean
54          $(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.7

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0