Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20041230102705

Diff

Diff from 1.2 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc/cc/cpp/Makefile.in

Annotated File View

ragge
1.2
1 #       $Id: Makefile.in,v 1.2 2004/12/30 10:27:05 ragge Exp $
ragge
1.1
2 #
3 # Makefile.in for cpp
4 #
5 XFL=-DCPP_DEBUG -DOLD -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror
6
7 prefix = @prefix@
8 exec_prefix = @exec_prefix@
9 bindir = @bindir@
10 libexecdir = @libexecdir@
11 strip = @strip@
12 CC = @CC@
13 CFLAGS = @CFLAGS@ $(XFL)
14 CPPFLAGS = @CPPFLAGS@
15 LIBS = @LIBS@
16 LDFLAGS = @LDFLAGS@
17 LEX = @LEX@
18 YACC = @YACC@
19 INSTALL = @INSTALL@
20 INSTALL_PROGRAM = @INSTALL_PROGRAM@
21
22 OBJS=cpp.o cpy.o token.o
23 HEADERS=cpp.h
24 DEST=cpp
25
26 all: ${DEST}
27
28 ${DEST}: $(OBJS) $(HEADERS)
29         $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
30
31 .c.o:
32         $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $<
33
34 .l.c:
35         $(LEX) $(LFLAGS) $<
36
37 .y.c:
38         $(YACC) $(YFLAGS) $<
39
40 $(OBJS): $(HEADERS)
41
ragge
1.2
42 tests: 
43         ./cpp < tests/test1 > tests/run1
44         cmp tests/run1 tests/res1
45         ./cpp < tests/test2 > tests/run2
46         cmp tests/run2 tests/res2
47         ./cpp < tests/test3 > tests/run3
48         cmp tests/run3 tests/res3
49         ./cpp < tests/test4 > tests/run4
50         cmp tests/run4 tests/res4
51
52
ragge
1.1
53 install:
54         ${INSTALL_PROGRAM} ${DEST} ${libexecdir}
55         @if [ ${strip} = yes ]; then            \
56                 strip ${libexecdir}/${DEST} ;   \
57                 echo strip ${libexecdir}/${DEST} ;      \
58         fi
59
60 clean:
61         /bin/rm -f $(OBJS) cpp lex.yy.c y.tab.c
62
63 distclean: clean
64         /bin/rm -f Makefile
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-17 03:33 +0200