Added depend target; cosmetic changes to other targets

This commit is contained in:
Guido van Rossum 1993-12-28 19:39:56 +00:00
parent 6d5ebe24ee
commit 810a92f95b
1 changed files with 18 additions and 5 deletions

View File

@ -6,7 +6,18 @@ 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
for i in $(SUBDIRS); do \
(echo $$i; cd $$i; $(MAKE) all); \
done
tags: ctags -t Parser/*.[ch] Objects/*.[ch] Python/*.[ch] Include/*.h
TAGS: etags -t Parser/*.[ch] Objects/*.[ch] Python/*.[ch] Include/*.h
depend:
for i in $(SUBDIRS); do \
(echo $$i; cd $$i; $(MAKE) depend); \
done
localclean:
-rm -f core *~ [@,#]* *.old *.orig *.rej
@ -17,7 +28,10 @@ clean: localclean
(echo $$i; cd $$i; $(MAKE) clean); \
done
clobber: localclean
localclobber: localclean
-rm -f tags TAGS config.status
clobber: localclobber
-for i in $(SUBDIRS); do \
(echo $$i; cd $$i; $(MAKE) clobber); \
done
@ -28,7 +42,6 @@ distclean: clobber
rm -f $$i/Makefile; \
fi; \
done
-rm -f config.status
Makefiles: config.status
./config.status