summaryrefslogtreecommitdiff
path: root/mk/thrd_exit.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/thrd_exit.d')
-rw-r--r--mk/thrd_exit.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/thrd_exit.d b/mk/thrd_exit.d
new file mode 100644
index 00000000..26739296
--- /dev/null
+++ b/mk/thrd_exit.d
@@ -0,0 +1,9 @@
+libc_C.201112: libc.a(thrd_exit.o)
+libc.a(thrd_exit.o): $(OBJDIR)/thrd_exit.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/thrd_exit.o: src/threads/thrd_exit.c
+$(OBJDIR)/thrd_exit.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/threads/thrd_exit.c