/[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.8, Fri Mar 14 01:38:38 2003 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 28  Line 31 
31  .c.o:  .c.o:
32          $(CC) $(CFLAGS) -c -o $*.o $<          $(CC) $(CFLAGS) -c -o $*.o $<
33    
34    all: $(TARGET)
35    
36  $(TARGET): $(COBJS) $(GENOBJS)  $(TARGET): $(COBJS) $(GENOBJS)
37          $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)          $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
38    
39  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
40  utils.o: utils.c utils.h readconf.h  utils.o: utils.c utils.h readconf.h
41    readconf.o: readconf.c readconf.h utils.h cvsgraph.h
42    
43  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
44  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
45    
46  y.tab.c y.tab.h: confy.y  rcs.tab.c rcs.tab.h: rcsy.y
47          $(YACC) -d confy.y          $(YACC) $(YACCFLAGS) -d -brcs -prcs rcsy.y
48    
49  lex.yy.c: confl.l  lex.rcs.c: rcsl.l
50          $(LEX) -8 confl.l          $(LEX) $(LEXFLAGS) -Prcs rcsl.l
51    
52  clean::  clean::
53          $(RM) *.o $(TARGET) $(GENSRCS) y.tab.h          $(RM) core *.o $(TARGET) $(GENSRCS) rcs.tab.h
54    
55  distclean: clean  distclean: clean
56          $(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.8

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0