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