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