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