summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-14 04:19:43 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-14 04:19:43 +0000
commite9efa23ae121c8976e5dc2bbcf29e029b5087e76 (patch)
tree55c9bdfec6626bdcb4fa81548a6177b28d8ee223 /Makefile
parent64bc6412188b141c010ac3b8e813b837dd991e80 (diff)
Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>
to allow uC-libc to compile under x86. -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
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