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