diff options
Diffstat (limited to 'mk/__stdout.d')
| -rw-r--r-- | mk/__stdout.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/__stdout.d b/mk/__stdout.d new file mode 100644 index 00000000..9b17c030 --- /dev/null +++ b/mk/__stdout.d @@ -0,0 +1,9 @@ +libc_C.0: libc.a(__stdout.o) +libc.a(__stdout.o): $(OBJDIR)/__stdout.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/__stdout.o: src/stdio/__stdout.c +$(OBJDIR)/__stdout.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/stdio/__stdout.c |
