]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added Makefile with clean and clobber targets
authorGuido van Rossum <guido@python.org>
Tue, 4 Jan 1994 23:24:22 +0000 (23:24 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 4 Jan 1994 23:24:22 +0000 (23:24 +0000)
Include/Makefile [new file with mode: 0644]
Lib/Makefile [new file with mode: 0644]

diff --git a/Include/Makefile b/Include/Makefile
new file mode 100644 (file)
index 0000000..b70dc12
--- /dev/null
@@ -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
diff --git a/Lib/Makefile b/Lib/Makefile
new file mode 100644 (file)
index 0000000..b70dc12
--- /dev/null
@@ -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