* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / error / Makefile
blobf604c3bae78e3e7164a3a7e0ab08fd13e8493b3b
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.
5 CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
7 ifeq ($(LIB_OS),ELKS)
9 ifneq ($(LIB_CPU),i86)
10 OBJ=error2.o perror.o sys_siglist.o __assert.o
11 else
12 OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
13 endif
15 else
16 OBJ=__assert.o
17 endif
19 all: $(LIBC)($(OBJ))
20 @$(RM) $(OBJ)
22 clean:
23 rm -f *.o libc.a error_list.h
25 $(LIBC)(error2.o): error_list.h
27 error_list.h: liberror.txt
28 sh mktab.sh