summaryrefslogtreecommitdiff
path: root/libc/misc/syslog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/syslog/Makefile')
-rw-r--r--libc/misc/syslog/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/syslog/Makefile b/libc/misc/syslog/Makefile
index 6f4717f25..a52d413ed 100644
--- a/libc/misc/syslog/Makefile
+++ b/libc/misc/syslog/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: