summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-07 01:44:00 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-07 01:44:00 +0000
commit19cf2f446177ebf7c0b569f908696d6ac318d0ac (patch)
tree5345f4b36f9b2975788f2069a39cf7bd07e710ec /libc/misc/time
parent87e26cded507b12940d6fef474e5aa7ce39b8ebf (diff)
Dependancy update
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/Makefile13
1 files changed, 8 insertions, 5 deletions
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