diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/GNUmakefile b/GNUmakefile index 4775618..6a557d9 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -61,19 +61,14 @@ 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)/ansi -LDFLAGS := -nostdlib $(libc_dir)/start.o -ifeq ($(ARCH),hp300) -gcc-arch = hp300bsd -else -gcc-arch = $(ARCH) -endif +CPPFLAGS := -I$(libc_dir)/include +LDFLAGS := -nostdlib $(libc_dir)/lib/start.o LOADLIBES := $(LOADLIBES) \ - $(libc_dir)/mcheck-init.o \ - $(libc_dir)/libc.a \ + $(libc_dir)/lib/mcheck-init.o \ + $(libc_dir)/lib/libc.a \ -lgcc \ - $(libc_dir)/libc.a -$(prog): $(libc_dir)/libc.a + $(libc_dir)/lib/libc.a +$(prog): $(libc_dir)/lib/libc.a # glob is in the C library. globdep = |