mirror of
https://github.com/python/cpython.git
synced 2024-12-01 03:01:36 +01:00
39 lines
710 B
Makefile
39 lines
710 B
Makefile
MAKE= make
|
|
|
|
SUBDIRS= Parser Grammar Objects Python
|
|
|
|
all: config.status
|
|
for i in $(SUBDIRS); do (echo $$i; cd $$i; $(MAKE) all); done
|
|
|
|
localclean:
|
|
-rm -f core *~ [@,#]* *.old *.orig *.rej
|
|
-(cd Py; 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
|
|
|