0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Grammar/Makefile
Guido van Rossum 1dfec14f83 Py -> Include
1993-12-26 18:15:49 +00:00

29 lines
467 B
Makefile

TOP= ..
PGENDIR= $(TOP)/Parser
PGEN= $(PGENDIR)/pgen
DESTH= $(TOP)/Include/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