Staging
v0.5.1
https://github.com/python/cpython
Revision ae48aabb10f775d8d4473126981b170c4f0b1dba authored by Fred Drake on 22 December 1998, 18:27:22 UTC, committed by Fred Drake on 22 December 1998, 18:27:22 UTC
1 parent 1189fa9
Raw File
Tip revision: ae48aabb10f775d8d4473126981b170c4f0b1dba authored by Fred Drake on 22 December 1998, 18:27:22 UTC
Update the date.
Tip revision: ae48aab
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