diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-14 06:07:31 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-14 06:07:31 +0000 |
commit | c3a27f5095a50bef9e56f19eeed1176319e189e2 (patch) | |
tree | 80804af6dd3e113d1a37cd648a5b50fdd26b78f0 /libc/string | |
parent | e9efa23ae121c8976e5dc2bbcf29e029b5087e76 (diff) |
Some makefile updates to make it behave a bit better/consistently.
-Erik
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
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) |