summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-15 12:35:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-15 12:35:14 +0000
commit883d4fb97aee5522adc42a2fb660d34077d7ebb0 (patch)
treeaacdb1cc1f6613653f67c6cbc7cd092a3b5d404c /libc/misc/utmp/Makefile
parent4d40c3c17e5165f646b6cec179e6ac4ab51cc9f1 (diff)
Add missing updwtmp() and fix broken makefile
Diffstat (limited to 'libc/misc/utmp/Makefile')
-rw-r--r--libc/misc/utmp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/utmp/Makefile b/libc/misc/utmp/Makefile
index a3ef79bc7..7a68f1175 100644
--- a/libc/misc/utmp/Makefile
+++ b/libc/misc/utmp/Makefile
@@ -35,8 +35,8 @@ $(LIBC): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
-$(COBJS):
- $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+$(COBJS): %.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean: