summaryrefslogtreecommitdiff
path: root/libc-0.0.4/termios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc-0.0.4/termios/Makefile')
-rw-r--r--libc-0.0.4/termios/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/libc-0.0.4/termios/Makefile b/libc-0.0.4/termios/Makefile
new file mode 100644
index 0000000..6925bb3
--- /dev/null
+++ b/libc-0.0.4/termios/Makefile
@@ -0,0 +1,27 @@
+# Copyright (C) 1996 Robert de Bath <robert@mayday.compulink.co.uk>
+# This file is part of the Linux-8086 C library and is distributed
+# under the GNU Library General Public License.
+
+TOP=..
+include $(TOP)/Make.defs
+
+TSRC=termios.c
+TOBJ=tcsetattr.o tcgetattr.o tcdrain.o tcflow.o tcflush.o tcsendbreak.o \
+ tcsetpgrp.o tcgetpgrp.o isatty.o
+
+OBJ=$(TOBJ)
+
+all: $(OBJ)
+
+libdos.a:
+
+libc.a: $(OBJ)
+ ar r ../libc.a $(OBJ)
+ @touch libc.a
+
+clean:
+ rm -f $(OBJ) libc.a
+
+$(TOBJ): $(TSRC)
+ $(CC) $(CFLAGS) -c -DL_$* -o $@ $(TSRC)
+