Added function ttob.
[python/dscho.git] / Grammar / Makefile
bloba48bbdbe30590e4fb4521be5bcfe31d2f5a73970
1 TOP= ..
2 PGENDIR= $(TOP)/Parser
3 PGEN= $(PGENDIR)/pgen
4 DESTH= $(TOP)/Py/graminit.h
5 DESTC= $(TOP)/Python/graminit.c
7 all: install
9 install: $(DESTH) $(DESTC)
11 $(DESTH): graminit.h
12 cp graminit.h $(DESTH)
14 $(DESTC): graminit.c
15 cp graminit.c $(DESTC)
17 graminit.c graminit.h: $(PGEN) Grammar
18 $(PGEN) Grammar
20 $(PGEN):
21 cd $(PGENDIR); make pgen
23 clean:
24 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
25 -rm -f graminit.[ch]
27 clobber: clean
28 -rm -f tags TAGS