summaryrefslogtreecommitdiff
path: root/libc/error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/error/Makefile')
-rw-r--r--libc/error/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/libc/error/Makefile b/libc/error/Makefile
index dc9b98e..ae3d1c0 100644
--- a/libc/error/Makefile
+++ b/libc/error/Makefile
@@ -2,18 +2,17 @@
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.
-TOP=..
-include $(TOP)/Make.defs
+CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
ifeq ($(LIB_OS),ELKS)
OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
-endif
-
-all: $(OBJ)
-libc.a: $(OBJ)
- ar r ../$(LIBC) $(OBJ)
- @touch libc.a
+all: $(LIBC)($(OBJ))
+ @:
+else
+all:
+ @:
+endif
clean:
rm -f *.o libc.a