summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index bc7d8de..3b48af0 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -60,7 +60,6 @@ ifndef no_libc
libc_dir = /home/gd2/gnu/libc/$(ARCH)
ifneq ($(wildcard $(libc_dir)),)
ifneq ($(wildcard $(libc_dir)/works-for-make),)
-dash_m := -M
#CPPFLAGS := -I$(libc_dir)/include
#LDFLAGS := -nostdlib $(libc_dir)/lib/start.o
#LOADLIBES := $(LOADLIBES) \
@@ -68,11 +67,10 @@ dash_m := -M
# $(libc_dir)/lib/libc.a \
# -lgcc \
# $(libc_dir)/lib/libc.a
-$(CC) := $(CC) -b glibc
-$(prog): $(libc_dir)/lib/libc.a
+CC := $(CC) -b glibc
# glob is in the C library.
-globdep =
+globdep = $(libc_dir)/lib/libc.a
globlib =
# So is getopt.