summaryrefslogtreecommitdiff
path: root/libc/error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/error/Makefile')
-rw-r--r--libc/error/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/error/Makefile b/libc/error/Makefile
new file mode 100644
index 0000000..ae3d1c0
--- /dev/null
+++ b/libc/error/Makefile
@@ -0,0 +1,18 @@
+# Copyright (C) 1996 Robert de Bath <robert@debath.thenet.co.uk>
+# This file is part of the Linux-8086 C library and is distributed
+# under the GNU Library General Public License.
+
+CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
+
+ifeq ($(LIB_OS),ELKS)
+OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
+
+all: $(LIBC)($(OBJ))
+ @:
+else
+all:
+ @:
+endif
+
+clean:
+ rm -f *.o libc.a