Staging
v0.5.1
https://github.com/python/cpython
Revision a7f2e813c94468506a6e10e8b5b97392a48da34d authored by Guido van Rossum on 03 October 1997, 15:33:32 UTC, committed by Guido van Rossum on 03 October 1997, 15:33:32 UTC
1 parent aa9606f
Raw File
Tip revision: a7f2e813c94468506a6e10e8b5b97392a48da34d authored by Guido van Rossum on 03 October 1997, 15:33:32 UTC
Remove unreachable "return 1" at end of ensure_fromlist().
Tip revision: a7f2e81
Makefile
TOP=		..
PGENDIR=	$(TOP)/Parser
PGEN=		$(PGENDIR)/pgen
DESTH=		$(TOP)/Include/graminit.h
DESTC=		$(TOP)/Python/graminit.c

all:		install

install:	$(DESTH) $(DESTC)

depend:

$(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
back to top