Mercurial > cpython-lru_cache-weakref
annotate Grammar/Makefile @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | 08d4da48dcd5 |
| children | 82f79618b442 |
| rev | line source |
|---|---|
| 1452 | 1 TOP= .. |
| 2 PGENDIR= $(TOP)/Parser | |
| 3 PGEN= $(PGENDIR)/pgen | |
| 1455 | 4 DESTH= $(TOP)/Include/graminit.h |
| 1452 | 5 DESTC= $(TOP)/Python/graminit.c |
| 6 | |
| 7 all: install | |
| 8 | |
| 9 install: $(DESTH) $(DESTC) | |
| 10 | |
|
1457
08d4da48dcd5
Added (dummy) depend target
Guido van Rossum <guido@python.org>
parents:
1455
diff
changeset
|
11 depend: |
|
08d4da48dcd5
Added (dummy) depend target
Guido van Rossum <guido@python.org>
parents:
1455
diff
changeset
|
12 |
| 1452 | 13 $(DESTH): graminit.h |
| 14 cp graminit.h $(DESTH) | |
| 15 | |
| 16 $(DESTC): graminit.c | |
| 17 cp graminit.c $(DESTC) | |
| 18 | |
| 19 graminit.c graminit.h: $(PGEN) Grammar | |
| 20 $(PGEN) Grammar | |
| 21 | |
| 22 $(PGEN): | |
| 23 cd $(PGENDIR); make pgen | |
| 24 | |
| 25 clean: | |
| 26 -rm -f *.o core *~ [@,#]* *.old *.orig *.rej | |
| 27 -rm -f graminit.[ch] | |
| 28 | |
| 29 clobber: clean | |
| 30 -rm -f tags TAGS |
