From e9efa23ae121c8976e5dc2bbcf29e029b5087e76 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sun, 14 May 2000 04:19:43 +0000 Subject: Patch from "D. Jeff Dionne / VE3DJF" to allow uC-libc to compile under x86. -Erik --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bfde99562..fc320afed 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,18 @@ DIRS = headers error gtermcap misc stdio2 time getent regexp string termios sysdeps \ malloc-simple net rpc -all: libc.a crt0.o +all: libc.a +# crt0.o libc.a: $(DIRS) dummy - m68k-pic-coff-ranlib $@ + $(CROSS)ranlib $@ -crt0.o: crt +#crt0.o: crt headers: dummy - if [ ! -L "include/asm" ]; then ln -s ../../linux/include/asm include/asm ; fi - if [ ! -L "include/net" ]; then ln -s ../../linux/include/net include/net ; fi - if [ ! -L "include/linux" ]; then ln -s ../../linux/include/linux include/linux ; fi + if [ ! -L "include/asm" ]; then ln -s /usr/src/linux/include/asm include/asm ; fi + if [ ! -L "include/net" ]; then ln -s /usr/src/linux/include/net include/net ; fi + if [ ! -L "include/linux" ]; then ln -s /usr/src/linux/include/linux include/linux ; fi error: dummy make -C error -- cgit v1.2.3