summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-14 06:07:31 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-14 06:07:31 +0000
commitc3a27f5095a50bef9e56f19eeed1176319e189e2 (patch)
tree80804af6dd3e113d1a37cd648a5b50fdd26b78f0 /libc/misc/time
parente9efa23ae121c8976e5dc2bbcf29e029b5087e76 (diff)
Some makefile updates to make it behave a bit better/consistently.
-Erik
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/Makefile11
1 files changed, 4 insertions, 7 deletions
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)