summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b8c533b..7fab98e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -79,11 +79,13 @@ $(prog): $(libc_dir)/libc.a
globdep =
globlib =
+# So is getopt.
+GETOPT =
+
else
-globdep =
-globlib =
-objs := $(objs) glob/fnmatch.o glob/glob.o
+globdep = glob/libglob.a
+globlib = $(globdep)
CPPFLAGS := $(CPPFLAGS) -Iglob
endif