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