Staging
v0.5.1
https://github.com/python/cpython
Revision 204751b127b847828c0e5351534b508ebffe697a authored by Guido van Rossum on 10 April 1998, 20:19:01 UTC, committed by Guido van Rossum on 10 April 1998, 20:19:01 UTC
1 parent ede0439
Raw File
Tip revision: 204751b127b847828c0e5351534b508ebffe697a authored by Guido van Rossum on 10 April 1998, 20:19:01 UTC
Add dict struct member and PyThreadState_GetDict() prototype.
Tip revision: 204751b
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