/[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.5 - (hide annotations)
Thu Mar 22 21:42:48 2001 UTC (16 years, 9 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_1_2, REL_1_1_3
Changes since 1.4: +1 -1 lines
- Dead tags (i.e. a tag without a valid revision or branch) does no
  longer print a message in quiet mode.
- Added expansions for cvsroot and cvsmodule without trailing '/'
- Remove core-files in a 'make clean'.
- Fixed default config file to use entities < and >.
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     utils.c
22    
23     GENSRCS =\
24     y.tab.c\
25 bertho 1.3 lex.yy.c\
26     rcs.tab.c\
27     lex.rcs.c
28 bertho 1.1
29     COBJS = $(CSRCS:.c=.o)
30     GENOBJS = $(GENSRCS:.c=.o)
31    
32     .c.o:
33     $(CC) $(CFLAGS) -c -o $*.o $<
34    
35     $(TARGET): $(COBJS) $(GENOBJS)
36     $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
37    
38 bertho 1.3 cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
39 bertho 1.1 utils.o: utils.c utils.h readconf.h
40    
41     y.tab.o: y.tab.c cvsgraph.h utils.h readconf.h
42 bertho 1.2 lex.yy.o: lex.yy.c y.tab.h readconf.h utils.h
43 bertho 1.3 rcsy.tab.o: rcsy.tab.c utils.h rcs.h
44 bertho 1.1
45     y.tab.c y.tab.h: confy.y
46 bertho 1.3 $(YACC) $(YACCFLAGS) -d confy.y
47 bertho 1.1
48     lex.yy.c: confl.l
49 bertho 1.3 $(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 bertho 1.1
57     clean::
58 bertho 1.5 $(RM) core *.o $(TARGET) $(GENSRCS) y.tab.h rcs.tab.h
59 bertho 1.2
60     distclean: clean
61     $(RM) config.cache config.status config.log Makefile config.h
62    

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0