* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / string / Makefile
bloba19ac0e93d08a67d34d5b2e7fecd6126472acb28
1 # Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.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 SSRC=string.c
6 SOBJ=strlen.o strcat.o strcpy.o strcmp.o strncat.o strncpy.o strncmp.o \
7 strchr.o strrchr.o strdup.o memcpy.o memccpy.o memchr.o memset.o \
8 memcmp.o memmove.o movedata.o
10 OBJ=$(SOBJ) strpbrk.o strsep.o strstr.o strtok.o strcspn.o \
11 strspn.o strcasecmp.o strncasecmp.o
13 CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
15 all: $(LIBC)
16 @$(RM) $(OBJ)
18 $(LIBC): $(LIBC)($(OBJ))
20 $(LIBC)($(SOBJ)): $(SSRC)
21 $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
22 $(AR) $(ARFLAGS) $@ $*.o
24 transfer:
25 -@rm -f ../include/string.h
26 cp -p string.h ../include/.
28 clean:
29 rm -f *.o ../include/string.h