From 3b81d48f27e024a113ec63bdfa0b762808d5291c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 17 Oct 2000 21:23:48 +0000 Subject: Fix up ctype.h --- libc/misc/ctype/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'libc/misc/ctype/Makefile') diff --git a/libc/misc/ctype/Makefile b/libc/misc/ctype/Makefile index 216855544..128881f28 100644 --- a/libc/misc/ctype/Makefile +++ b/libc/misc/ctype/Makefile @@ -24,17 +24,21 @@ TOPDIR=../../ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a -CSRC=ctype.c -COBJS=$(patsubst %.c,%.o, $(CSRC)) -OBJS=$(COBJS) - -all: $(OBJS) $(LIBC) +MSRC=ctype.c +MOBJ= isalnum.o isalpha.o isascii.o iscntrl.o isdigit.o isgraph.o \ + islower.o isprint.o ispunct.o isspace.o isupper.o isxdigit.o \ + isxlower.o isxupper.o toascii.o tolower.o toupper.o +OBJS=$(MOBJ) +all: $(MOBJ) $(LIBC) $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(MOBJ): $(MSRC) + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o + $(OBJS): Makefile clean: -- cgit v1.2.3