summaryrefslogtreecommitdiff
path: root/src/gnu/make.code.defn
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu/make.code.defn')
-rw-r--r--src/gnu/make.code.defn13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gnu/make.code.defn b/src/gnu/make.code.defn
index 01f9ad65..0839b06f 100644
--- a/src/gnu/make.code.defn
+++ b/src/gnu/make.code.defn
@@ -2,8 +2,13 @@
#
# $Header$
-SRCS=\
-getopt.c\
-getopt1.c\
-regex.c
+SRCS=
+
+ifeq ($(strip $(BUILD_GETOPT)),yes)
+SRCS += getopt.c getopt1.c
+endif
+
+ifeq ($(strip $(BUILD_REGEX)),yes)
+SRCS += regex.c
+endif