aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/Makefile.common.inc18
-rw-r--r--plugins/mate/Makefile.nmake2
2 files changed, 16 insertions, 4 deletions
diff --git a/plugins/Makefile.common.inc b/plugins/Makefile.common.inc
index 5ee80f5b7b..d8089b6992 100644
--- a/plugins/Makefile.common.inc
+++ b/plugins/Makefile.common.inc
@@ -85,15 +85,27 @@ NODIST_SRC_FILES = \
$(LEMON_GENERATED_CPP_FILES)
#
-# All generated source files.
+# All Flex-generated source files.
#
-GENERATED_SRC_FILES = \
+FLEX_GENERATED_SRC_FILES = \
$(FLEX_GENERATED_C_FILES) \
- $(FLEX_GENERATED_CPP_FILES) \
+ $(FLEX_GENERATED_CPP_FILES)
+
+#
+# All Lemon-generated source files.
+#
+LEMON_GENERATED_SRC_FILES = \
$(LEMON_GENERATED_C_FILES) \
$(LEMON_GENERATED_CPP_FILES)
#
+# All generated source files.
+#
+GENERATED_SRC_FILES = \
+ $(FLEX_GENERATED_SRC_FILES) \
+ $(LEMON_GENERATED_SRC_FILES)
+
+#
# All "clean" source files; they can be compiled with the regular
# warning options, including -Werror with GCC-compatible compilers,
# and can be run through checkAPI. Neither Flex-generated nor
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake
index 491cccddfe..bc57282bbe 100644
--- a/plugins/mate/Makefile.nmake
+++ b/plugins/mate/Makefile.nmake
@@ -108,7 +108,7 @@ clean:
# the files from the distribution that were generated by Flex.
#
distclean: clean
- rm -f $(FLEX_GENERATED_C_FILES) \
+ rm -f $(FLEX_GENERATED_SRC_FILES) \
$(FLEX_GENERATED_HEADER_FILES) \
$(NODIST_SRC_FILES) \
$(NODIST_HEADER_FILES) \