Staging
v0.5.1
https://github.com/python/cpython
Revision 482e82a0f6decfb60feb5e6ee04ed07637adbfe4 authored by Guido van Rossum on 10 August 1998, 13:18:11 UTC, committed by Guido van Rossum on 10 August 1998, 13:18:11 UTC
1 parent e7f3953
Raw File
Tip revision: 482e82a0f6decfb60feb5e6ee04ed07637adbfe4 authored by Guido van Rossum on 10 August 1998, 13:18:11 UTC
Corrected some spelling and one technical error.
Tip revision: 482e82a
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