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