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