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