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