summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-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)