summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dd22dd58b..88fbc0c19 100644
--- a/Makefile
+++ b/Makefile
@@ -20,16 +20,21 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
-DIRS = error getent malloc misc regex stdio \
+#MALLOC = malloc
+MALLOC = malloc-simple
+
+DIRS = error getent $(MALLOC) misc regex stdio \
string termios time sysdeps shm #rpc
all: libc.a
-libc.a: headers subdirs
+libc.a: halfclean headers subdirs
@echo
@echo Finally finished compiling...
@echo
- $(CROSS)ranlib $@
+ $(CROSS)ranlib libc.a
+halfclean:
+ @rm -f libc.a
headers: dummy
@if [ ! -L "include/asm" ]; then ln -s /usr/include/asm include/asm ; fi