1# Copyright (C) 1996 Robert de Bath <robert@debath.thenet.co.uk>
2# This file is part of the Linux-8086 C library and is distributed
3# under the GNU Library General Public License.
4
5CFLAGS=-pipe -O2 -fno-strict-aliasing  $(ARCH) $(CCFLAGS) $(DEFS)
6
7ifeq ($(LIB_OS),ELKS)
8
9ifneq ($(LIB_CPU),i86)
10OBJ=error2.o perror.o sys_siglist.o __assert.o
11else
12OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
13endif
14
15else
16OBJ=__assert.o
17endif
18
19all: $(LIBC)($(OBJ))
20	@$(RM) $(OBJ)
21
22clean:
23	rm -f *.o libc.a error_list.h
24
25$(LIBC)(error2.o): error_list.h
26
27error_list.h: liberror.txt
28	sh mktab.sh
29