summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e041b12..919f7fc 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -70,11 +70,11 @@ endif # !no_libc
# We know the type of machine, so put the binaries in subdirectories.
$(ARCH)/%.o: %.c
$(COMPILE.c) -Iglob $< $(OUTPUT_OPTION)
-$(ARCH)/glob/libglob.a:
+$(ARCH)/glob/libglob.a: FORCE
$(MAKE) -C $(@D) $(@F) \
CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \
CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H'
-.PHONY: $(ARCH)/glob/libglob.a
+FORCE:
objs := $(addprefix $(ARCH)/,$(objs))
prog := $(ARCH)/make