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