summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-simple/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc-simple/Makefile')
-rw-r--r--libc/stdlib/malloc-simple/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/malloc-simple/Makefile b/libc/stdlib/malloc-simple/Makefile
index 294902b97..cc2c132b2 100644
--- a/libc/stdlib/malloc-simple/Makefile
+++ b/libc/stdlib/malloc-simple/Makefile
@@ -40,8 +40,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: