summaryrefslogtreecommitdiff
path: root/libc/time/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/time/Makefile')
-rw-r--r--libc/time/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/libc/time/Makefile b/libc/time/Makefile
index d04e5f4..6e95444 100644
--- a/libc/time/Makefile
+++ b/libc/time/Makefile
@@ -2,16 +2,14 @@
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.
-TOP=..
-include $(TOP)/Make.defs
-
OBJ=localtime.o gmtime.o asctime.o ctime.o asc_conv.o tm_conv.o
-all: $(OBJ)
+CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
+
+all: $(LIBC)
+ @:
-libc.a: $(OBJ)
- ar r ../$(LIBC) $(OBJ)
- @touch libc.a
+$(LIBC): $(LIBC)($(OBJ))
clean:
rm -f *.o libc.a