blob: 36d213a4ed5b57fcd6e6f750eb4ebd90ba1bdf45 [file] [log] [blame]
MAKE= make
SUBDIRS= Parser Grammar Objects Python
SUBDIRSTOO= Include Extensions readline
DISTFILES= README Makefile configure configure.in
DIST= $(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)
all: config.status
for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
localclean:
-rm -f core *~ [@,#]* *.old *.orig *.rej
-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)
clean: localclean
-for i in $(SUBDIRS); do \
(echo $$i;cd $$i;$(MAKE) clean); \
done
clobber: localclean
-for i in $(SUBDIRS); do \
(echo $$i;cd $$i;$(MAKE) clobber); \
done
distclean: clobber
-for i in $(SUBDIRS); do \
if test -f $$i/Makefile.in; then \
rm -f $$i/Makefile; \
fi; \
done
-rm -f config.status
Makefiles: config.status
./config.status
config.status: configure
./configure
configure: configure.in
autoconf
tar: dist.tar.Z
dist.tar.Z: $(DIST)
tar cf - $(DIST) | compress >dist.tar.Z