cpython/Grammar/Makefile

31 lines
476 B
Makefile
Raw Normal View History

1993-12-24 10:36:57 +00:00
TOP= ..
PGENDIR= $(TOP)/Parser
PGEN= $(PGENDIR)/pgen
1993-12-26 18:15:49 +00:00
DESTH= $(TOP)/Include/graminit.h
1993-12-24 10:36:57 +00:00
DESTC= $(TOP)/Python/graminit.c
all: install
install: $(DESTH) $(DESTC)
1993-12-28 19:39:13 +00:00
depend:
1993-12-24 10:36:57 +00:00
$(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