Formerly GNUmakefile.~62~

This commit is contained in:
Roland McGrath 1992-05-28 05:03:09 +00:00
parent b238874895
commit 1e9a5d4b8e

View File

@ -61,13 +61,14 @@ libc_dir = /home/gd2/gnu/libc/$(ARCH)
ifneq ($(wildcard $(libc_dir)),) ifneq ($(wildcard $(libc_dir)),)
ifneq ($(wildcard $(libc_dir)/works-for-make),) ifneq ($(wildcard $(libc_dir)/works-for-make),)
dash_m := -M dash_m := -M
CPPFLAGS := -I$(libc_dir)/include #CPPFLAGS := -I$(libc_dir)/include
LDFLAGS := -nostdlib $(libc_dir)/lib/start.o #LDFLAGS := -nostdlib $(libc_dir)/lib/start.o
LOADLIBES := $(LOADLIBES) \ #LOADLIBES := $(LOADLIBES) \
$(libc_dir)/lib/mcheck-init.o \ # $(libc_dir)/lib/mcheck-init.o \
$(libc_dir)/lib/libc.a \ # $(libc_dir)/lib/libc.a \
-lgcc \ # -lgcc \
$(libc_dir)/lib/libc.a # $(libc_dir)/lib/libc.a
$(CC) := $(CC) -b glibc
$(prog): $(libc_dir)/lib/libc.a $(prog): $(libc_dir)/lib/libc.a
# glob is in the C library. # glob is in the C library.