From c3a27f5095a50bef9e56f19eeed1176319e189e2 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sun, 14 May 2000 06:07:31 +0000 Subject: Some makefile updates to make it behave a bit better/consistently. -Erik --- libc/misc/time/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libc/misc/time') diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile index e68ee5dc7..ce2351ddf 100644 --- a/libc/misc/time/Makefile +++ b/libc/misc/time/Makefile @@ -2,19 +2,16 @@ # This file is part of the Linux-8086 C library and is distributed # under the GNU Library General Public License. -LIBC=../libc.a +TOPDIR=../ +include $(TOPDIR)Rules.make -CC=$(CROSS)gcc -AR=$(CROSS)ar -RANLIB=$(CROSS)ranlib +CFLAGS+=-I$(TOPDIR)/include/linux -CCFLAGS= -O2 $(CPUFLAGS) -I../include +LIBC=../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 -CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) - all: $(LIBC) @$(RM) $(OBJ) -- cgit v1.2.3