mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Added Makefile with clean and clobber targets
This commit is contained in:
parent
7dd31d0608
commit
80e32bf546
2 changed files with 24 additions and 0 deletions
12
Include/Makefile
Normal file
12
Include/Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
all:
|
||||
@echo Nothing to make in this directory.
|
||||
|
||||
clean:
|
||||
find . '(' -name '*.pyc' -o -name '*.fdc' \
|
||||
-o -name core -o -name '*~' \
|
||||
-o -name '[@,#]*' -o -name '*.old' \
|
||||
-o -name '*.orig' -o -name '*.rej' \
|
||||
-o -name '*.bak' ')' \
|
||||
-print -exec rm -f {} ';'
|
||||
|
||||
clobber: clean
|
12
Lib/Makefile
Normal file
12
Lib/Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
all:
|
||||
@echo Nothing to make in this directory.
|
||||
|
||||
clean:
|
||||
find . '(' -name '*.pyc' -o -name '*.fdc' \
|
||||
-o -name core -o -name '*~' \
|
||||
-o -name '[@,#]*' -o -name '*.old' \
|
||||
-o -name '*.orig' -o -name '*.rej' \
|
||||
-o -name '*.bak' ')' \
|
||||
-print -exec rm -f {} ';'
|
||||
|
||||
clobber: clean
|
Loading…
Add table
Add a link
Reference in a new issue