From 19cf2f446177ebf7c0b569f908696d6ac318d0ac Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 7 Oct 2000 01:44:00 +0000 Subject: Dependancy update --- libc/misc/time/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'libc/misc/time/Makefile') diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile index 252a67e09..14ccf5933 100644 --- a/libc/misc/time/Makefile +++ b/libc/misc/time/Makefile @@ -24,13 +24,16 @@ TOPDIR=../ include $(TOPDIR)Rules.make LIBC=$(TOPDIR)libc.a -OBJ=localtime.o gmtime.o asctime.o ctime.o asc_conv.o tm_conv.o mktime.o \ - localtime_r.o gmtime_r.o asctime_r.o ctime_r.o +CSRC=localtime.c gmtime.c asctime.c ctime.c asc_conv.c tm_conv.c mktime.c \ + localtime_r.c gmtime_r.c asctime_r.c ctime_r.c +COBJS=$(patsubst %.c,%.o, $(CSRC)) -all: $(OBJ) $(LIBC) +all: $(COBJS) $(LIBC) -$(LIBC): $(OBJ) - $(AR) $(ARFLAGS) $(LIBC) $(OBJ) +$(LIBC): $(COBJS) + $(AR) $(ARFLAGS) $(LIBC) $(COBJS) + +$(COBJS): Makefile clean: rm -f *.[oa] *~ core -- cgit v1.2.3