mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
None
This commit is contained in:
parent
60a578aa4e
commit
6fa6343f0e
3 changed files with 161 additions and 12 deletions
28
Grammar/Makefile
Normal file
28
Grammar/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
TOP= ..
|
||||
PGENDIR= $(TOP)/Parser
|
||||
PGEN= $(PGENDIR)/pgen
|
||||
DESTH= $(TOP)/Py/graminit.h
|
||||
DESTC= $(TOP)/Python/graminit.c
|
||||
|
||||
all: install
|
||||
|
||||
install: $(DESTH) $(DESTC)
|
||||
|
||||
$(DESTH): graminit.h
|
||||
cp graminit.h $(DESTH)
|
||||
|
||||
$(DESTC): graminit.c
|
||||
cp graminit.c $(DESTC)
|
||||
|
||||
graminit.c graminit.h: $(PGEN) Grammar
|
||||
$(PGEN) Grammar
|
||||
|
||||
$(PGEN):
|
||||
cd $(PGENDIR); make pgen
|
||||
|
||||
clean:
|
||||
-rm -f *.o core *~ [@,#]* *.old *.orig *.rej
|
||||
-rm -f graminit.[ch]
|
||||
|
||||
clobber: clean
|
||||
-rm -f tags TAGS
|
Loading…
Add table
Add a link
Reference in a new issue