Added a description for my extensions (README-my-extensions.html).
[parsecvs/imz-RCS2git-use-cases.git] / Makefile
blob61b1a14194d1b2a86ab08a1d4d087a42405b782d
1 GCC_WARNINGS1=-Wall -Wpointer-arith -Wstrict-prototypes
2 GCC_WARNINGS2=-Wmissing-prototypes -Wmissing-declarations
3 GCC_WARNINGS3=-Wnested-externs -fno-strict-aliasing
4 GCC_WARNINGS=$(GCC_WARNINGS1) $(GCC_WARNINGS2) $(GCC_WARNINGS3)
5 CFLAGS=-O2 -g $(GCC_WARNINGS) -I../git -DSHA1_HEADER='<openssl/sha.h>'
6 GITPATH=../git
7 LIBS=-L$(GITPATH) -lgit $(GITPATH)/xdiff/lib.a -lssl -lcrypto -lz
8 YFLAGS=-d -l
9 LFLAGS=-l
11 OBJS=gram.o lex.o parsecvs.o cvsutil.o revdir.o \
12 revlist.o atom.o revcvs.o git.o gitutil.o rcs2git.o \
13 nodehash.o tags.o tree.o
15 parsecvs: $(OBJS)
16 cc $(CFLAGS) -o $@ $(OBJS) $(LIBS)
18 $(OBJS): cvs.h
19 lex.o: y.tab.h
21 lex.o: lex.c
23 y.tab.h: gram.c
25 clean:
26 rm -f $(OBJS) y.tab.h gram.c lex.c parsecvs
27 install:
28 cp parsecvs edit-change-log ${HOME}/bin