diff options
author | Guido van Rossum <guido@python.org> | 1993-12-24 10:36:57 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-12-24 10:36:57 +0000 |
commit | 6fa6343f0e0837314ee86515804b3f3cd5945cbb (patch) | |
tree | 566b9a5a3ba9f58f97c5537e78fdea9c458f4c2c /Grammar | |
parent | 60a578aa4e8fa37a562d24870eb921719d4a6c9b (diff) | |
download | cpython-git-6fa6343f0e0837314ee86515804b3f3cd5945cbb.tar.gz |
None
Diffstat (limited to 'Grammar')
-rw-r--r-- | Grammar/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Grammar/Makefile b/Grammar/Makefile new file mode 100644 index 0000000000..a48bbdbe30 --- /dev/null +++ b/Grammar/Makefile @@ -0,0 +1,28 @@ +TOP= .. +PGENDIR= $(TOP)/Parser +PGEN= $(PGENDIR)/pgen +DESTH= $(TOP)/Py/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 |