Bump version to 0.9.1.
[python/dscho.git] / Grammar / Makefile
blobfe9eaa8bafdad67f48993c0c715bff1729a634b1
1 TOP= ..
2 PGENDIR= $(TOP)/Parser
3 PGEN= $(PGENDIR)/pgen
4 DESTH= $(TOP)/Include/graminit.h
5 DESTC= $(TOP)/Python/graminit.c
7 all: install
9 install: $(DESTH) $(DESTC)
11 depend:
13 $(DESTH): graminit.h
14 cp graminit.h $(DESTH)
16 $(DESTC): graminit.c
17 cp graminit.c $(DESTC)
19 graminit.c graminit.h: $(PGEN) Grammar
20 $(PGEN) Grammar
22 $(PGEN):
23 cd $(PGENDIR); make pgen
25 clean:
26 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
27 -rm -f graminit.[ch]
29 clobber: clean
30 -rm -f tags TAGS