summaryrefslogtreecommitdiff
path: root/libc/termios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/Makefile')
-rw-r--r--libc/termios/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/termios/Makefile b/libc/termios/Makefile
index cb4c2c6f8..f90c5922a 100644
--- a/libc/termios/Makefile
+++ b/libc/termios/Makefile
@@ -45,8 +45,8 @@ $(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(COBJS):
- $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+$(COBJS): %.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean: