From e97cef5a4619faec29aad770a59300c472dbfc48 Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Mon, 10 Apr 1989 19:31:29 -0400 Subject: [PATCH] avoid library redefinition problem SCCS-file: Makefile SCCS-SID: 4.39 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0d66f9d..9d1b8cf 100644 --- a/Makefile +++ b/Makefile @@ -175,7 +175,7 @@ TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o emkdir.o getopt.o TZDSRCS= zdump.c localtime.c asctime.c ialloc.c getopt.c TZDOBJS= zdump.o localtime.o asctime.o ialloc.o getopt.o DATESRCS= date.c localtime.c getopt.c logwtmp.c strftime.c -DATEOBJS= date.o localtime.o getopt.o logwtmp.o strftime.o +DATEOBJS= date.o localtime.o getopt.o logwtmp.o strftime.o asctime.o LIBSRCS= localtime.c asctime.c difftime.c LIBOBJS= localtime.o asctime.o difftime.o HEADERS= tzfile.h private.h @@ -255,7 +255,8 @@ date: $(DATEOBJS) ar r ,lib.a logwtmp.o strftime.o if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \ then ranlib ,lib.a ; fi - $(CC) $(CFLAGS) date.o localtime.o getopt.o -lc ,lib.a -o $@ + $(CC) $(CFLAGS) date.o localtime.o asctime.o getopt.o \ + -lc ,lib.a -o $@ rm -f ,lib.a clean: