diff options
Diffstat (limited to 'mk/mkstemp.d')
| -rw-r--r-- | mk/mkstemp.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/mkstemp.d b/mk/mkstemp.d new file mode 100644 index 00000000..7db7fa0c --- /dev/null +++ b/mk/mkstemp.d @@ -0,0 +1,10 @@ +libc_P.200809: libc.a(mkstemp.o) +libc_X.400: libc.a(mkstemp.o) +libc.a(mkstemp.o): $(OBJDIR)/mkstemp.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/mkstemp.o: src/stdlib/mkstemp.c +$(OBJDIR)/mkstemp.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/stdlib/mkstemp.c |
