From c3a27f5095a50bef9e56f19eeed1176319e189e2 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sun, 14 May 2000 06:07:31 +0000 Subject: Some makefile updates to make it behave a bit better/consistently. -Erik --- libc/string/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'libc/string') diff --git a/libc/string/Makefile b/libc/string/Makefile index de79004ba..a64d0b82b 100644 --- a/libc/string/Makefile +++ b/libc/string/Makefile @@ -2,13 +2,10 @@ # This file is part of the Linux-8086 C library and is distributed # under the GNU Library General Public License. -LIBC=../libc.a - -CC=$(CROSS)gcc -AR=$(CROSS)ar -RANLIB=$(CROSS)ranlib +TOPDIR=../ +include $(TOPDIR)Rules.make -CCFLAGS= -O2 $(CPUFLAGS) -I../include +LIBC=../libc.a SSRC=string.c SOBJ=strlen.o strcat.o strcpy.o strcmp.o strncat.o strncpy.o strncmp.o \ @@ -18,8 +15,6 @@ SOBJ=strlen.o strcat.o strcpy.o strcmp.o strncat.o strncpy.o strncmp.o \ OBJ=$(SOBJ) strpbrk.o strsep.o strstr.o strtok.o strcspn.o \ strspn.o strcasecmp.o strncasecmp.o config.o -CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) - all: $(LIBC) @$(RM) $(OBJ) -- cgit v1.2.3