diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-17 21:23:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-17 21:23:48 +0000 |
commit | 3b81d48f27e024a113ec63bdfa0b762808d5291c (patch) | |
tree | fea6fb870a61065463da3ff885b8729abfc88018 /libc/misc/ctype/Makefile | |
parent | 1dce8cb9fe9f6f54b5c9a26115541879b2f8ff25 (diff) |
Fix up ctype.h
Diffstat (limited to 'libc/misc/ctype/Makefile')
-rw-r--r-- | libc/misc/ctype/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
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: |