summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/Makefile.am3
-rw-r--r--tools/Makefile.nmake1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 4eefdfd294..fd258dba77 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -112,6 +112,9 @@ setuid-root.pl: setuid-root.pl.in Makefile
< $(srcdir)/setuid-root.pl.in > setuid-root.pl
chmod +x setuid-root.pl
+CLEANFILES = \
+ *.pyc
+
DISTCLEANFILES = \
setuid-root.pl
diff --git a/tools/Makefile.nmake b/tools/Makefile.nmake
index 68a6ccc0b2..ef560e92b0 100644
--- a/tools/Makefile.nmake
+++ b/tools/Makefile.nmake
@@ -8,6 +8,7 @@ all: lemon
clean:
cd lemon
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
+ rm -f *.pyc
cd ..
distclean: clean