0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 08:52:25 +01:00
cpython/Makefile.in

46 lines
930 B
Makefile
Raw Normal View History

1993-12-24 11:39:16 +01:00
MAKE= make
SUBDIRS= Parser Grammar Objects Python
1993-12-26 19:24:40 +01:00
SUBDIRSTOO= Include Extensions readline
DISTFILES= README Makefile configure configure.in
DIST= $(DISTFILES) $(SUBDIRS) $(SUBDIRSTOO)
1993-12-24 11:39:16 +01:00
all: config.status
for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
localclean:
-rm -f core *~ [@,#]* *.old *.orig *.rej
1993-12-26 19:24:40 +01:00
-(cd Include; rm -f core *~ [@,#]* *.old *.orig *.rej)
1993-12-24 11:39:16 +01:00
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
1993-12-26 19:24:40 +01:00
tar: dist.tar.Z
dist.tar.Z: $(DIST)
tar cf - $(DIST) | compress >dist.tar.Z