summaryrefslogtreecommitdiff
path: root/libc/signal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/Makefile')
-rw-r--r--libc/signal/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/signal/Makefile b/libc/signal/Makefile
index 9dcdeab8b..e4fa6b7b4 100644
--- a/libc/signal/Makefile
+++ b/libc/signal/Makefile
@@ -37,8 +37,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: