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