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