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